in process of adding ranger support

nvim
Keegan 2 years ago
parent 59f814ab10
commit c806f31067

3
.gitignore vendored

@ -1 +1,4 @@
tmux/resurrect
tmux/plugins/*
!tmux/plugins/tpm
vim/pack/*

3
.gitmodules vendored

@ -20,3 +20,6 @@
[submodule "tmux/plugins/tpm"]
path = tmux/plugins/tpm
url = https://github.com/tmux-plugins/tpm
[submodule "ranger"]
path = ranger
url = https://github.com/ranger/ranger.git

@ -16,6 +16,8 @@
force: true
~/.tmux:
~/.tmux.conf: tmux.conf
~/.ranger.py: ranger/ranger.py
~/.config/ranger/rc.conf:
~/.oh-my-zsh/custom/plugins/zsh-autosuggestions:
force: true
path: oh-my-zsh/custom/plugins/zsh-autosuggestions

@ -0,0 +1 @@
Subproject commit fcf44f6f12506fa0096cb6468de6a2706bbfaf51

@ -0,0 +1 @@
set tmux_dropdown_animate false

@ -7,7 +7,10 @@ set -g history-limit 10000
# Set display time to be longer to allow selecting
set -g display-panes-time 5000
# setting up TPM
# fix headless issue hopefully
set-window-option -g aggressive-resize
# setting up TPM
set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'tmux-plugins/tmux-sensible'
@ -16,9 +19,8 @@ set -g @plugin 'thewtex/tmux-mem-cpu-load'
# status config
set -g status-interval 1
set -g status-left "#[bg=black]#(~/.tmux/plugins/tmux-mem-cpu-load/tmux-mem-cpu-load -p -i 1 -a 1)#[default]"
set -g status-left-length 60
set -g status-right 'Continuum: #{continuum_status}'
set -g status-right "#[bg=black]#(~/.tmux/plugins/tmux-mem-cpu-load/tmux-mem-cpu-load -p -i 1 -a 1)#[default] %a %l:%M "
set -g status-right-length 100
# tmux auto start
set -g @plugin 'tmux-plugins/tmux-resurrect'
set -g @plugin 'tmux-plugins/tmux-continuum'
@ -26,8 +28,10 @@ set -g @plugin 'tmux-plugins/tmux-continuum'
# ressurct config
set -g @continuum-save-interval 5
set -g @continuum-boot 'on'
set -g @continuum-restore 'on'
set -g @resurrect-capture-pane-contents 'on'
# run tpm
run '~/.tmux/plugins/tpm/tpm'
#-#-# start_of_ranger_tmux_config #-#-#
bind-key Bspace run-shell -b '/usr/bin/python3 -m ranger_tmux.drop'
#-#-# end_of_ranger_tmux_config #-#-#

@ -129,4 +129,9 @@ alias bbrm='ssh-keygen -f "/home/kdeppe/.ssh/known_hosts" -R "192.168.7.2"'
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
export PATH=$PATH:/home/kdeppe/.local/bin
export PATH=$PATH:$HOME/.local/bin
# ranger alias
alias ranger="python3 $HOME/.ranger.py"
#adding ranger to path

Loading…
Cancel
Save