From 70fc0858628a430fb8c2a9415d63d192939cc5b7 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Thu, 20 Aug 2009 11:20:24 +0000 Subject: Sync OpenBSD patchset 264: 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. --- tmux.1 | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index c5af4f0a..e7c4355d 100644 --- a/tmux.1 +++ b/tmux.1 @@ -1,4 +1,4 @@ -.\" $Id: tmux.1,v 1.151 2009-08-16 19:16:27 tcunha Exp $ +.\" $Id: tmux.1,v 1.152 2009-08-20 11:20:24 tcunha Exp $ .\" .\" Copyright (c) 2007 Nicholas Marriott .\" @@ -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: August 13 2009 $ +.Dd $Mdocdate: August 18 2009 $ .Dt TMUX 1 .Os .Sh NAME @@ -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: -- cgit