tmux-plugins / tmux-sensible

basic tmux settings everyone can agree on
MIT License
1.73k stars 90 forks source link

Add tmux config for starting windows/panes at 1 #49

Open alpha0mega96 opened 5 years ago

alpha0mega96 commented 5 years ago

Hey, I just found this:

# Start windows and panes at 1, not 0
set -g base-index 1
setw -g pane-base-index 1

Source: https://unix.stackexchange.com/a/35932

Could this be made standard in this? I'd like to just patch that in.

alpha0mega96 commented 5 years ago

tmux-patch.txt

This is the quick patch I made, if you could patch it in, it'd be great!

hholst80 commented 5 years ago

What do you think about having this as a separate plugin instead? It is a bit controversial to have as a "sensible default" but having it as plugin would enable it with a single line in your tmuxrc?

DJCrashdummy commented 4 years ago

this is a duplicate of #33