tmux-sensible
tmux-sensible copied to clipboard
Start counting windows and panes from 1
I've seen this being used around and consider it a sensible default, what you think?
# Number windows and panes starting at 1 so that we can jump to
# them easier.
set -g base-index 1
set -g pane-base-index 1
I'm consciously using 0. Reasons:
- I'm a touch typist, never look at the keys. The position of key
0as a "starting key" plays absolutely no role. - There is however a downside of removing key
0for touch typists:- Keys
5,6,7are a bit harder to hit on a regular keyboard. Reason: you have to stretch an index finger and move it off of a home row. As a lazy user, I don't want to type 5, 6, 7. - As the number of windows in a tmux session grows, I don't want to their index to be 5, 6, 7
- If
0is removed, the windows' index number will grow to 5, 6, 7 faster. This is not desirable.
- Keys
I have used it but I do not think it is a sensible default for everyone. That said, I would like to see that as a plugin to easily opt-in with a one-liner in my tmux.conf