style(.tmux.conf): reorganize and clean up tmux configuration file for better readability and maintainability

This commit is contained in:
David Ibia
2024-08-11 13:41:20 +01:00
parent b503adae42
commit 29b684496d

View File

@@ -51,31 +51,30 @@ bind -r m resize-pane -Z
# List of plugins # List of plugins
set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tpm'
set -g @plugin 'catppuccin/tmux'
set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-sensible'
set -g @plugin 'christoomey/vim-tmux-navigator' set -g @plugin 'christoomey/vim-tmux-navigator'
set -g @plugin 'MunifTanjim/tmux-mode-indicator' set -g @plugin 'MunifTanjim/tmux-mode-indicator'
set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-resurrect'
# set -g @plugin "dracula/tmux" set -g @plugin 'tmux-plugins/tmux-continuum'
set -g @catppuccin_flavour 'mocha'
set -g @resurrect-dir "~/.tmux/resurrect" set -g @resurrect-dir "~/.tmux/resurrect"
set -g @resurrect-capture-pane-contents 'on' set -g @resurrect-capture-pane-contents 'on'
# for neovim # for neovim
set -g @resurrect-strategy-nvim 'session' set -g @resurrect-strategy-nvim 'session'
set -g @continuum-restore 'on'
set -g @dracula-show-ssh-session-port true set -g @dracula-show-ssh-session-port true
set-window-option -g window-status-current-format '#[fg=red,bold]#[bg=default] #I #W #[fg=blue,bg=default]'
set-window-option -g window-status-format '#[fg=#ffffff,bold]#[bg=default] #I #W #[fg=default,bg=default]'
set -g @dracula-plugins "tmux-ram-usage attached-clients"
set -g @dracula-show-powerline true
set -g @dracula-show-flags true set -g status-left-length 20
set -g @dracula-show-left-icon session set -g status-position top
set -g status-justify left
set -g status-position bottom set -g status-style bg=default
# Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf)
run '~/.tmux/plugins/tpm/tpm' run '~/.tmux/plugins/tpm/tpm'