From b614dec8da54ecb5f9129704b2e36619429237a0 Mon Sep 17 00:00:00 2001 From: Domenik Bildhauer Date: Sun, 27 Sep 2026 08:24:38 +0200 Subject: [PATCH] Improve tmux configuration with Catppuccin --- dotfiles/.tmux.conf | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/dotfiles/.tmux.conf b/dotfiles/.tmux.conf index 4a090dc..7994f45 100644 --- a/dotfiles/.tmux.conf +++ b/dotfiles/.tmux.conf @@ -1,10 +1,10 @@ -##### Prefix ############################################################ +##### PREFIX ############################################################## unbind C-b set -g prefix C-a bind C-a send-prefix -##### Allgemein ########################################################## +##### GENERAL ############################################################# set -g mouse on set -g history-limit 100000 @@ -17,24 +17,43 @@ setw -g mode-keys vi set -sg escape-time 0 -##### Splits ############################################################# +set -g default-terminal "screen-256color" -bind | split-window -h -bind - split-window -v +##### SPLITS ############################################################## unbind '"' unbind % -##### Reload ############################################################# +bind | split-window -h +bind - split-window -v + +##### NAVIGATION ########################################################## + +bind h select-pane -L +bind j select-pane -D +bind k select-pane -U +bind l select-pane -R + +##### RELOAD ############################################################## bind r source-file ~/.tmux.conf \; display-message "tmux.conf neu geladen" -##### Plugins ############################################################ +##### RESURRECT ########################################################### + +set -g @continuum-restore 'on' +set -g @continuum-save-interval '15' + +##### CATPPUCCIN ########################################################## + +set -g @catppuccin_flavour "mocha" + +##### PLUGINS ############################################################# set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-sensible' set -g @plugin 'tmux-plugins/tmux-yank' set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @plugin 'tmux-plugins/tmux-continuum' +set -g @plugin 'catppuccin/tmux' run '~/.tmux/plugins/tpm/tpm'