diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2009-08-18 07:08:26 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2009-08-18 07:08:26 +0000 |
commit | c828c2f3665d1caed443816a066e3ac81b08ea83 (patch) | |
tree | 9ba82975cebbd40172e3c72634a3c3e6ab0bfdf5 /tmux.1 | |
parent | e7cd547457e40dce8c05c37c358c414d36bac54d (diff) | |
download | rtmux-c828c2f3665d1caed443816a066e3ac81b08ea83.tar.gz rtmux-c828c2f3665d1caed443816a066e3ac81b08ea83.tar.bz2 rtmux-c828c2f3665d1caed443816a066e3ac81b08ea83.zip |
Add (naive) searching and goto line in copy mode. Searching is C-r and C-s with
emacs keys, / and ? with vi; n repeats the search again with either key
set. All searching wraps the top/bottom. Goto line is g for both emacs and vi.
The search prompts don't have full line editing, just simple append and delete
characters.
Also sort the mode keys list in tmux.1.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -475,23 +475,27 @@ option). The following keys are supported as appropriate for the mode: .Bl -column "FunctionXXXXXXXXXXXX" "viXXXXXX" "emacs" -offset indent .It Sy "Function" Ta Sy "vi" Ta Sy "emacs" -.It Li "Start of line" Ta "0" Ta "C-a" .It Li "Back to indentation" Ta "^" Ta "M-m" .It Li "Clear selection" Ta "Escape" Ta "C-g" .It Li "Copy selection" Ta "Enter" Ta "M-w" .It Li "Cursor down" Ta "j" Ta "Down" -.It Li "End of line" Ta "$" Ta "C-e" .It Li "Cursor left" Ta "h" Ta "Left" +.It Li "Cursor right" Ta "l" Ta "Right" +.It Li "Cursor up" Ta "k" Ta "Up" +.It Li "Delete to end of line" Ta "D" Ta "C-k" +.It Li "End of line" Ta "$" Ta "C-e" +.It Li "Goto line" Ta "g" Ta "g" .It Li "Next page" Ta "C-f" Ta "Page down" .It Li "Next word" Ta "w" Ta "M-f" +.It Li "Paste buffer" Ta "p" Ta "C-y" .It Li "Previous page" Ta "C-u" Ta "Page up" .It Li "Previous word" Ta "b" Ta "M-b" .It Li "Quit mode" Ta "q" Ta "Escape" -.It Li "Cursor right" Ta "l" Ta "Right" +.It Li "Search again" Ta "n" Ta "n" +.It Li "Search backward" Ta "?" Ta "C-r" +.It Li "Search forward" Ta "/" Ta "C-s" +.It Li "Start of line" Ta "0" Ta "C-a" .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" 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: |