diff --git a/modules/home/tmux.nix b/modules/home/tmux.nix index e577cfe..14f27ef 100644 --- a/modules/home/tmux.nix +++ b/modules/home/tmux.nix @@ -4,8 +4,10 @@ clock24 = true; shortcut = "a"; + keyMode = "vi"; mouse = true; - historyLimit = 30000; + historyLimit = 50000; + sensibleOnTop = false; extraConfig = '' set -g status-position top @@ -14,6 +16,11 @@ bind . split-window -h bind - split-window -v + bind C-p previous-window + bind C-n next-window + + bind R source-file '~/.config/tmux/tmux.conf' + set -g base-index 1 set -g status-bg black @@ -21,9 +28,12 @@ set-option -sg escape-time 10 set-option -g focus-events on - set-option -sa terminal-features ',kitty:RGB' - ''; + set -s escape-time 0 + set -g display-time 4000 + set -g status-interval 5 + set -g default-terminal "screen-256color" + ''; }; }