mirror of
https://github.com/tmux/tmux.git
synced 2025-09-03 06:17:04 +00:00
If VISUAL or EDITOR contains "vi", configure mode-keys and status-keys
to vi. Based on a diff from martynas@, previously requested by a couple of other people.
This commit is contained in:
16
tmux.1
16
tmux.1
@ -1852,7 +1852,12 @@ or right justified.
|
||||
.Xc
|
||||
Use vi or emacs-style
|
||||
key bindings in the status line, for example at the command prompt.
|
||||
Defaults to emacs.
|
||||
The default is emacs, unless the
|
||||
.Ev VISUAL
|
||||
or
|
||||
.Ev EDITOR
|
||||
environment variables are set and contain the string
|
||||
.Ql vi .
|
||||
.It Ic status-left Ar string
|
||||
Display
|
||||
.Ar string
|
||||
@ -2140,7 +2145,14 @@ Set window modes foreground colour.
|
||||
.Op Ic vi | emacs
|
||||
.Xc
|
||||
Use vi or emacs-style key bindings in copy and choice modes.
|
||||
Key bindings default to emacs.
|
||||
As with the
|
||||
.Ic status-keys
|
||||
option, the default is emacs, unless
|
||||
.Ev VISUAL
|
||||
or
|
||||
.Ev EDITOR
|
||||
contains
|
||||
.Ql vi .
|
||||
.Pp
|
||||
.It Xo Ic mode-mouse
|
||||
.Op Ic on | off
|
||||
|
Reference in New Issue
Block a user