diff --git a/.gitignore b/.gitignore index 56b5eae..f8076e6 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,4 @@ tmux/resurrect +tmux/plugins/* +!tmux/plugins/tpm +vim/pack/* diff --git a/.gitmodules b/.gitmodules index 4e5d20f..75a2f53 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/install.conf.yaml b/install.conf.yaml index ad294d4..2d9c764 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -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 diff --git a/ranger b/ranger new file mode 160000 index 0000000..fcf44f6 --- /dev/null +++ b/ranger @@ -0,0 +1 @@ +Subproject commit fcf44f6f12506fa0096cb6468de6a2706bbfaf51 diff --git a/rc.conf b/rc.conf new file mode 100644 index 0000000..28234c2 --- /dev/null +++ b/rc.conf @@ -0,0 +1 @@ +set tmux_dropdown_animate false diff --git a/tmux.conf b/tmux.conf index 8835023..a7524c8 100644 --- a/tmux.conf +++ b/tmux.conf @@ -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 #-#-# diff --git a/zshrc b/zshrc index 13cb942..a6710db 100644 --- a/zshrc +++ b/zshrc @@ -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