diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2010-12-06 21:59:42 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2010-12-06 21:59:42 +0000 |
commit | d0adcbc98a0261716c094c2e83c6d2eaa90a1c95 (patch) | |
tree | 20735b463951a04d8783b3e01c179f3486428290 /tmux.1 | |
parent | e75187310d1d8f839de997ac3f074a7adc657276 (diff) | |
download | rtmux-d0adcbc98a0261716c094c2e83c6d2eaa90a1c95.tar.gz rtmux-d0adcbc98a0261716c094c2e83c6d2eaa90a1c95.tar.bz2 rtmux-d0adcbc98a0261716c094c2e83c6d2eaa90a1c95.zip |
PatchSet 790
Date: 2010/11/29 19:45:58
Author: nicm
Branch: HEAD
Tag: (none)
Log:
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.
Members:
tmux.1:1.190->1.191
tmux.c:1.93->1.94
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 20 |
1 files changed, 16 insertions, 4 deletions
@@ -1,4 +1,4 @@ -.\" $Id: tmux.1,v 1.272 2010-12-06 21:55:42 nicm Exp $ +.\" $Id: tmux.1,v 1.273 2010-12-06 21:59:42 nicm Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> .\" @@ -14,7 +14,7 @@ .\" IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING .\" OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: November 14 2010 $ +.Dd $Mdocdate: November 29 2010 $ .Dt TMUX 1 .Os .Sh NAME @@ -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 |