From 29b684496d3ed4ee4df3218b19171466b7465402 Mon Sep 17 00:00:00 2001 From: David Ibia Date: Sun, 11 Aug 2024 13:41:20 +0100 Subject: [PATCH] style(.tmux.conf): reorganize and clean up tmux configuration file for better readability and maintainability --- .tmux.conf | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/.tmux.conf b/.tmux.conf index cf62e76..db22194 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -51,31 +51,30 @@ bind -r m resize-pane -Z # List of plugins set -g @plugin 'tmux-plugins/tpm' -set -g @plugin 'catppuccin/tmux' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'christoomey/vim-tmux-navigator' set -g @plugin 'MunifTanjim/tmux-mode-indicator' 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-capture-pane-contents 'on' + # for neovim set -g @resurrect-strategy-nvim 'session' - +set -g @continuum-restore 'on' 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 @dracula-show-left-icon session - -set -g status-position bottom +set -g status-left-length 20 +set -g status-position top +set -g status-justify left +set -g status-style bg=default # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) run '~/.tmux/plugins/tpm/tpm'