From 7de572585f351021f7f1adb931b9af5e80c97dec Mon Sep 17 00:00:00 2001 From: Nigel Date: Sat, 3 Jan 2026 15:46:47 +0100 Subject: [PATCH] change tmux --- tmux/dot-tmux.conf | 49 ++++++++++++++++++++++------------------------ 1 file changed, 23 insertions(+), 26 deletions(-) diff --git a/tmux/dot-tmux.conf b/tmux/dot-tmux.conf index 27a234e..8f746c4 100644 --- a/tmux/dot-tmux.conf +++ b/tmux/dot-tmux.conf @@ -4,11 +4,19 @@ ## ## ########################################################## -# Rebind the prefix key -unbind C-b -set-option -g prefix C-Space +# set Status bar options +set -g status-position top +set -g base-index 1 +set -g pane-base-index 1 + + +set -g mouse on +set -s escape-time 50 +set -s default-terminal 'xterm-256color' # Map pane selection to more easy vim like bindings +setw -g mode-keys vi + bind-key -n 'M-h' select-pane -L bind-key -n 'M-j' select-pane -D bind-key -n 'M-k' select-pane -U @@ -21,32 +29,21 @@ bind-key -r -T prefix 'M-k' resize-pane -U 5 bind-key -r -T prefix 'M-l' resize-pane -R 5 +set -g @plugin 'catppuccin/tmux#v2.1.1' +set -g @catppuccin_flavour 'frappe' +set -g @catppuccin_window_status_style 'rounded' - -bind h split-window -h -bind v split-window -v - -# set Status bar options -set-option -g status-position top -set-option -g allow-rename off - -set -g @plugin 'tmux-plugins/tpm' -set -g @plugin 'catppuccin/tmux' -set -g @catppuccin_flavour 'macchiato' +set -g @catppuccin_window_text " #W" +set -g @catppuccin_window_current_text " #W" set -g @catppuccin_status_modules_right "host uptime application session" -set -s default-terminal 'xterm-256color' +set -g status-right-length 100 +set -g status-left-length 100 +set -g status-left "" +set -gF status-right "#{@catppuccin_status_directory}" +set -gF status-right "#{@catppuccin_status_user}" +set -gF status-right "#{@catppuccin_status_host}" -setw -g mode-keys vi - -# set some sanity options -# - This makes sure to keep the window/pane count starting at 1 -setw -g base-index 1 -setw -g pane-base-index 1 -# - This prevents me from having to press escape twice -set -s escape-time 50 - -# allow mouse interaction -set-option -g mouse on # Initialize TMUX plugin manager (keep this line at the very bottom of tmux.conf) +set -g @plugin 'tmux-plugins/tpm' run '~/.tmux/plugins/tpm/tpm'