From 4b0e38ffd21c663f6c06d01dcfd4707ca7ebf55c Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Wed, 17 Dec 2025 12:51:41 +0200 Subject: [PATCH] chore(tmux): config cleanup Signed-off-by: Ismo Vuorinen --- config/tmux/theme-dark.conf | 1 - config/tmux/theme-light.conf | 1 - config/tmux/tmux.conf | 24 +++++------------------- 3 files changed, 5 insertions(+), 21 deletions(-) diff --git a/config/tmux/theme-dark.conf b/config/tmux/theme-dark.conf index 7fcd832..b392f5e 100644 --- a/config/tmux/theme-dark.conf +++ b/config/tmux/theme-dark.conf @@ -1,3 +1,2 @@ set -g @catppuccin_flavor "mocha" -set -g @catppuccin_window_status_style "basic" diff --git a/config/tmux/theme-light.conf b/config/tmux/theme-light.conf index 47144d0..597850e 100644 --- a/config/tmux/theme-light.conf +++ b/config/tmux/theme-light.conf @@ -1,2 +1 @@ set -g @catppuccin_flavor "latte" -set -g @catppuccin_window_status_style "basic" diff --git a/config/tmux/tmux.conf b/config/tmux/tmux.conf index f4ae588..cc2323d 100644 --- a/config/tmux/tmux.conf +++ b/config/tmux/tmux.conf @@ -29,7 +29,6 @@ set -g mouse on # Mouse support set -g set-titles on # Allow tmux to set the terminal title set -g status on # Setting status on set -g status-keys vi # vi keys to move between panes -set -g history-limit 3000 # Scrollback history limit # Activity Monitoring (for when something happens in another pain) set -g monitor-activity on @@ -47,9 +46,6 @@ set -g base-index 1 set -g pane-base-index 1 set -g renumber-windows on -# Activate with `DEBUG=1 tmux -vv` -if-shell '[ "$DEBUG" = "1" ]' 'set -g debug-file ~/.cache/tmux-debug.log' - # ╭──────────────────────────────────────────────────────────╮ # │ Theme │ # ╰──────────────────────────────────────────────────────────╯ @@ -58,13 +54,15 @@ set -g status-justify "left" set -g status-left '' set -g status-left-length "0" set -g status-position "bottom" -set -g status-right "#S@#h #{tmux_mode_indicator}" +#set -g status-right "#S@#h #{tmux_mode_indicator}" set -g status-right-length "50" -set -g window-status-current-format ' #I:#W#{?window_zoomed_flag, ◈ ,} ' -set -g window-status-format ' #I:#W ' +#set -g window-status-current-format ' #I:#W#{?window_zoomed_flag, ◈ ,} ' +#set -g window-status-format ' #I:#W ' set -g @catppuccin_status_background 'none' set -g @catppuccin_window_flags 'icon' set -g @catppuccin_status_connect_separator 'no' +set -g @catppuccin_window_text "#T" +set -g @catppuccin_window_current_text "#T" # ╭──────────────────────────────────────────────────────────╮ # │ Bindings │ @@ -86,11 +84,6 @@ bind -n M-Right select-pane -R bind -n M-Up select-pane -U bind -n M-Down select-pane -D -# Easier switching between window -bind C-n next-window -bind C-p previous-window -bind C-a last-window - # Reload tmux config with + r unbind r bind r "source-file ~/.dotfiles/config/tmux/tmux.conf; display 'tmux cfg reloaded!'" @@ -103,14 +96,7 @@ bind Escape copy-mode unbind p bind p paste-buffer -# tms bindings -bind -N "tms" T display-popup -E "tms" -bind -N "tms windows" C-w display-popup -E "tms windows" -bind -N "tms switch" C-s display-popup -E "tms switch" -bind -N "tms refresh" C-r display-popup -E "tms refresh" - # global sessions -# bind-key "K" display-popup -h 90% -w 50% -E "sesh ui" bind -N "sesh selection" t run-shell "$HOME/.dotfiles/config/tmux/sesh-tmux.fish" bind -N "last-session (via sesh) " L run-shell "sesh last" bind -N "sesh ui" N display-popup -E "sesh ui"