From 0bee481b6ede8078bfc84a241ca0fafd5c164681 Mon Sep 17 00:00:00 2001 From: Luis Mayta Date: Mon, 25 Sep 2023 10:39:30 -0500 Subject: [PATCH] chore: change dracula to catppuccin (#59) --- conf/.tmux.conf | 51 +++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 41 insertions(+), 10 deletions(-) diff --git a/conf/.tmux.conf b/conf/.tmux.conf index 2dcbf9e..3a32b84 100644 --- a/conf/.tmux.conf +++ b/conf/.tmux.conf @@ -120,6 +120,16 @@ bind-key X \ run-shell "tmux kill-session -t $(cat /tmp/tmux-session-to-kill); rm /tmp/tmux-session-to-kill" # }}} +# set vi-mode {{{ +set-window-option -g mode-keys vi +# }}} + +# keybindings {{{ +bind-key -T copy-mode-vi v send-keys -X begin-selection +bind-key -T copy-mode-vi C-v send-keys -X rectangle-toggle +bind-key -T copy-mode-vi y send-keys -X copy-selection-and-cancel +# }}} + # Theme {{{ # Status bar config @@ -159,13 +169,35 @@ set -g @jump-key 'g' # dracula/tmux {{{ -set -g @dracula-show-powerline true -set -g @dracula-show-flags true -set -g @dracula-military-time true -set -g @dracula-refresh-rate 30 -set -g @dracula-show-timezone true -set -g @dracula-show-left-icon window -set -g @dracula-cpu-usage true +# set -g @dracula-show-powerline true +# set -g @dracula-show-flags true +# set -g @dracula-military-time true +# set -g @dracula-refresh-rate 30 +# set -g @dracula-show-timezone true +# set -g @dracula-show-left-icon window +# set -g @dracula-cpu-usage true + +# }}} + +# catppuccin/tmux {{{ +set -g @catppuccin_flavour 'mocha' # or frappe, macchiato, mocha + +set -g @catppuccin_window_left_separator "█" +set -g @catppuccin_window_right_separator "█ " +set -g @catppuccin_window_number_position "right" +set -g @catppuccin_window_middle_separator " █" + +set -g @catppuccin_window_default_fill "number" + +set -g @catppuccin_window_current_fill "number" +set -g @catppuccin_window_current_text "#{pane_current_path}" + +set -g @catppuccin_status_modules_right "application session date_time" +set -g @catppuccin_status_left_separator "" +set -g @catppuccin_status_right_separator " " +set -g @catppuccin_status_right_separator_inverse "yes" +set -g @catppuccin_status_fill "all" +set -g @catppuccin_status_connect_separator "no" # }}} @@ -177,16 +209,15 @@ if -b '"$(uname)" = Linux' 'source-file $HOME/.tmux_linux.conf' # # List of plugins set -g @tpm_plugins ' \ tmux-plugins/tpm \ + catppuccin/tmux \ wfxr/tmux-fzf-url \ - dracula/tmux \ + tmux-plugins/tmux-battery \ tmux-plugins/tmux-copycat \ tmux-plugins/tmux-yank \ tmux-plugins/tmux-sensible \ tmux-plugins/tmux-open \ tmux-plugins/tmux-resurrect \ schasse/tmux-jump \ - nhdaly/tmux-better-mouse-mode \ - christoomey/vim-tmux-navigator \ sainnhe/tmux-fzf \ '