From c28d5f2b8bb6554c9a6b9990420f080af654b0b5 Mon Sep 17 00:00:00 2001 From: Emma Thorpe Date: Mon, 17 Mar 2025 20:50:51 +0000 Subject: [PATCH] feat(shell.nix): move tmux configuration to nix --- shell.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/shell.nix b/shell.nix index 4afb78c..e7645f2 100644 --- a/shell.nix +++ b/shell.nix @@ -11,4 +11,21 @@ syntaxHighlighting.enable = true; autosuggestions.enable = true; }; + programs.tmux = { + enable = true; + reverseSplit = true; + terminal = "tmux-direct"; + newSession = true; + keyMode = "vi"; + historyLimit = 50000; + extraConfig = '' + # Enable mouse support + set -g mouse on + # Set pane navigation + 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 + ''; + }; }