aboutsummaryrefslogtreecommitdiff
path: root/modules/tmux.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/tmux.nix')
-rw-r--r--modules/tmux.nix12
1 files changed, 12 insertions, 0 deletions
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
+ '';
};
};
}