diff options
author | Thomas Adam <thomas@xteddy.org> | 2016-10-13 08:09:47 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2016-10-13 08:09:47 +0100 |
commit | 6551f4bb3b651aa2dba77a98cc42828737b88306 (patch) | |
tree | 82dd6cbba583e9d4bc58a9334a8b74713d94da89 /tmux.1 | |
parent | 76a9e6f27bb0c7b547989c3b80cf8cc0a148064d (diff) | |
parent | e0add119ea4a6c8d40905a7ad1f7bc3553d20ccc (diff) | |
download | rtmux-6551f4bb3b651aa2dba77a98cc42828737b88306.tar.gz rtmux-6551f4bb3b651aa2dba77a98cc42828737b88306.tar.bz2 rtmux-6551f4bb3b651aa2dba77a98cc42828737b88306.zip |
Merge branch 'obsd-master'
Conflicts:
paste.c
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 53 |
1 files changed, 30 insertions, 23 deletions
@@ -1108,11 +1108,7 @@ Commands in copy mode may be prefaced by an optional repeat count. With vi key bindings, a prefix is entered using the number keys; with emacs, the Alt (meta) key and a number begins prefix entry. .Pp -Mode 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; and +Mode key bindings are defined in two tables: .Em vi-choice and .Em emacs-choice @@ -2108,7 +2104,7 @@ bind-key "'" new-window Commands related to key bindings are as follows: .Bl -tag -width Ds .It Xo Ic bind-key -.Op Fl cnr +.Op Fl nr .Op Fl t Ar mode-table .Op Fl T Ar key-table .Ar key Ar command Op Ar arguments @@ -2163,10 +2159,7 @@ If is present, .Ar key is bound in -.Ar mode-table : -the binding for command mode with -.Fl c -or for normal mode without. +.Ar mode-table . .Pp To view the default bindings and possible commands, see the .Ic list-keys @@ -2240,7 +2233,7 @@ Send the prefix key, or with .Fl 2 the secondary prefix key, to a window as if it was pressed. .It Xo Ic unbind-key -.Op Fl acn +.Op Fl an .Op Fl t Ar mode-table .Op Fl T Ar key-table .Ar key @@ -2248,7 +2241,6 @@ the secondary prefix key, to a window as if it was pressed. .D1 (alias: Ic unbind ) Unbind the command bound to .Ar key . -.Fl c , .Fl n , .Fl T and @@ -3004,10 +2996,8 @@ layouts. .It Xo Ic mode-keys .Op Ic vi | emacs .Xc -Use vi or emacs-style key bindings in copy and choice modes. -As with the -.Ic status-keys -option, the default is emacs, unless +Use vi or emacs-style key bindings in copy mode. +The default is emacs, unless .Ev VISUAL or .Ev EDITOR @@ -3781,13 +3771,6 @@ if it is present, or .Ql \&: if not. .Pp -Both -.Ar inputs -and -.Ar prompts -may contain the special character sequences supported by the -.Ic status-left -option. .Pp Before the command is executed, the first occurrence of the string .Ql %% @@ -3807,6 +3790,30 @@ to .Fl 1 makes the prompt only accept one key press, in this case the resulting input is a single character. +.Pp +The following keys have a special meaning in the command prompt, depending +on the value of the +.Ic status-keys +option: +.Bl -column "FunctionXXXXXXXXXXXXXXXXXXXXXXXXX" "viXXXX" "emacsX" -offset indent +.It Sy "Function" Ta Sy "vi" Ta Sy "emacs" +.It Li "Cancel command prompt" Ta "Escape" Ta "Escape" +.It Li "Delete current word" Ta "" Ta "C-w" +.It Li "Delete entire command" Ta "d" Ta "C-u" +.It Li "Delete from cursor to end" Ta "D" Ta "C-k" +.It Li "Execute command" Ta "Enter" Ta "Enter" +.It Li "Get next command from history" Ta "" Ta "Down" +.It Li "Get previous command from history" Ta "" Ta "Up" +.It Li "Insert top paste buffer" Ta "p" Ta "C-y" +.It Li "Look for completions" Ta "Tab" Ta "Tab" +.It Li "Move cursor left" Ta "h" Ta "Left" +.It Li "Move cursor right" Ta "l" Ta "Right" +.It Li "Move cursor to end" Ta "$" Ta "C-e" +.It Li "Move cursor to next word" Ta "w" Ta "M-f" +.It Li "Move cursor to previous word" Ta "b" Ta "M-b" +.It Li "Move cursor to start" Ta "0" Ta "C-a" +.It Li "Transpose characters" Ta "" Ta "C-t" +.El .It Xo Ic confirm-before .Op Fl p Ar prompt .Op Fl t Ar target-client |