tmux: Explicitly set vi bindings

The default is emacs, unless EDITOR contains "vi", but there's no
harm in setting this explicitly.
This commit is contained in:
Alan Orth 2012-09-04 14:55:05 +03:00
parent 45eaa6fa81
commit fdb58f9708

View File

@ -76,6 +76,9 @@ bind '"' choose-window
# use Escape for entering copy mode, like screen # use Escape for entering copy mode, like screen
bind Escape copy-mode bind Escape copy-mode
# use vi-style key bindings
set-option -g mode-keys vi
# Rather than constraining window size to the maximum size of any client # Rather than constraining window size to the maximum size of any client
# connected to the *session*, constrain window size to the maximum size # connected to the *session*, constrain window size to the maximum size
# of any client connected to *that window*. Much more reasonable. # of any client connected to *that window*. Much more reasonable.