1
0
Fork 0

tmux: start windows at index 0

This commit is contained in:
Pratham Patel 2023-08-31 18:07:31 +05:30
parent cfcf511c3e
commit 666d3399fc
Signed by: thefossguy
SSH Key Fingerprint: SHA256:/B3wAg7jnMEBQ2JwkebbS/eXVZANDmqRfnd9QkIhxMI
1 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
# Start windows and panes at 1, not 0 # Start windows at 0 and panes at 1
set -g base-index 1 # This is done because, I run a few items that "log" to the console on headless
# machines, so having those run on window 0 gives me a total of 10 panes, 9 usable
set -g base-index 0
setw -g pane-base-index 1 setw -g pane-base-index 1
# for Neovim, idk why # for Neovim, idk why