From 9c40078e3511d114deef87bea6d3c448aa194ebc Mon Sep 17 00:00:00 2001 From: schererleander Date: Sat, 10 May 2025 10:34:57 +0200 Subject: add settings --- modules/tmux.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/modules/tmux.nix b/modules/tmux.nix index c4bfefc..4d200bb 100644 --- a/modules/tmux.nix +++ b/modules/tmux.nix @@ -8,6 +8,18 @@ in { config = lib.mkIf cfg.enable { programs.tmux = { enable = true; + extraConfig = '' + unbind C-b + set-option -g prefix C-a + bind-key C-a send-prefix + + bind -n M-Left select-pane -L + bind -n M-Right select-pane -R + bind -n M-Up select-pane -U + bind -n M-Down select-pane -D + + set -g mouse on + ''; }; }; } -- cgit v1.3.1