about summary refs log tree commit diff
path: root/home/tmux
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-04-24 13:10:19 -0700
committerFranck Cuny <franck@fcuny.net>2022-04-24 13:10:19 -0700
commit8729d6aa68907595c28644048997db5a0cac9a40 (patch)
tree371f626f0000a318ae835cb487789ac09a7c01d0 /home/tmux
parentfish: start tmux on new session (diff)
downloadworld-8729d6aa68907595c28644048997db5a0cac9a40.tar.gz
tmux: start windows at 1
Renumber windows, I prefer the consistency.
Diffstat (limited to 'home/tmux')
-rw-r--r--home/tmux/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/home/tmux/default.nix b/home/tmux/default.nix
index 7836c26..499a64b 100644
--- a/home/tmux/default.nix
+++ b/home/tmux/default.nix
@@ -11,12 +11,15 @@ in {
     terminal = "xterm-256color";
     escapeTime = 0;
     aggressiveResize = true;
+    baseIndex = 1;
     shortcut = "z";
     clock24 = true;
     historyLimit = 50000; # Bigger buffer
 
     extraConfig = ''
       setw -g mouse on
+
+      set-option -g renumber-windows on
     '';
   };
 }