tmux-sensible icon indicating copy to clipboard operation
tmux-sensible copied to clipboard

Start counting windows and panes from 1

Open oblitum opened this issue 9 years ago • 2 comments

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

oblitum avatar Jun 25 '16 21:06 oblitum

I'm consciously using 0. Reasons:

  • I'm a touch typist, never look at the keys. The position of key 0 as a "starting key" plays absolutely no role.
  • There is however a downside of removing key 0 for touch typists:
    • Keys 5, 6, 7 are 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 0 is removed, the windows' index number will grow to 5, 6, 7 faster. This is not desirable.

bruno- avatar May 01 '18 14:05 bruno-

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

hholst80 avatar Jul 06 '19 21:07 hholst80