Update tmux config

- Add layout managment via tmuxp
- Add function to run z and tmuxp
- move tmux config from home folder to config folder
This commit is contained in:
Alexander Navarro 2023-10-28 19:47:32 -03:00
parent 6fda168c66
commit eebd9d4a78
10 changed files with 45 additions and 17 deletions

View file

View file

@ -66,7 +66,13 @@ bind l next-window
# set -g status-right '#(bartib current | sed -n 3p | awk \'{print $NF}\')'
## Plugins
run -b '~/.tmux/plugins/tpm/tpm'
## Auto install plugins
if "test ! -d ~/.config/tmux/plugins/tpm" \
"run 'git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm && ~/.config/tmux/plugins/tpm/bin/install_plugins'"
set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.config/tmux/plugins/tpm'
run -b '~/.config/tmux/plugins/tpm/tpm'
set -g @plugin 'catppuccin/tmux'
# set -g @plugin 'rwxd/catppuccin-tmux'