diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-07-28 23:11:18 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-07-28 23:11:18 +0000 |
commit | de7483a1141428a8331113fc7277d3bf67d51a13 (patch) | |
tree | 0ec364a0cb114e23b18a97b2694f35d40f980f55 /tmux.1 | |
parent | d9dcc5ed44a5cc9f0129af3d2f444c043bcf1ab7 (diff) | |
download | rtmux-de7483a1141428a8331113fc7277d3bf67d51a13.tar.gz rtmux-de7483a1141428a8331113fc7277d3bf67d51a13.tar.bz2 rtmux-de7483a1141428a8331113fc7277d3bf67d51a13.zip |
Sync OpenBSD patchset 192:
Next step towards customisable mode keys: build each default table of keys
into a named tree on start and use that for lookups. Also add command to string
translation tables and modify list-keys to show the mode key bindings (new
-t argument).
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 41 |
1 files changed, 39 insertions, 2 deletions
@@ -1,4 +1,4 @@ -.\" $Id: tmux.1,v 1.133 2009-07-28 23:04:29 tcunha Exp $ +.\" $Id: tmux.1,v 1.134 2009-07-28 23:11:18 tcunha Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> .\" @@ -331,10 +331,29 @@ The following keys are supported as appropriate for the mode: .It Li "Cursor right" Ta "l" Ta "Right" .It Li "Start selection" Ta "Space" Ta "C-Space" .It Li "Cursor up" Ta "k" Ta "Up" -.It Li "Delete to end of line" Ta "D or C" Ta "C-k" +.It Li "Delete to end of line" Ta "D" Ta "C-k" .It Li "Paste buffer" Ta "p" Ta "C-y" .El .Pp +These key bindings are defined in a set of named tables: +.Em vi-edit +and +.Em emacs-edit +for keys used when line editing at the command prompt; +.Em vi-choice +and +.Em emacs-choice +for keys used when choosing from lists (such as produced by the +.Ic window-choose +command) or in output mode; and +.Em vi-copy +and +.Em emacs-copy +used in copy and scroll modes. +The tables may be viewed with the +.Ic list-keys +command. +.Pp The paste buffer key pastes the first line from the top paste buffer on the stack. .Sh BUFFERS @@ -847,13 +866,31 @@ List all clients attached to the server. List the syntax of all commands supported by .Nm . .It Xo Ic list-keys +.Op Ar Fl t Ar key-table .Xc .D1 (alias: Ic lsk ) List all key bindings. +Without +.Fl t +the primary key bindings - those executed when preceded by the prefix key - +are printed. Keys bound without the prefix key (see .Ic bind-key .Fl n ) are enclosed in square brackets. +.Pp +With +.Fl t , +the key bindings in +.Ar key-table +are listed; this may be one of: +.Em vi-edit , +.Em emacs-edit , +.Em vi-choice , +.Em emacs-choice , +.Em vi-copy +or +.Em emacs-copy . .It Xo Ic list-sessions .Xc .D1 (alias: Ic ls ) |