aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-08-20 11:20:24 +0000
committerTiago Cunha <tcunha@gmx.com>2009-08-20 11:20:24 +0000
commit70fc0858628a430fb8c2a9415d63d192939cc5b7 (patch)
tree6a473d8507bd48c9fb630be655d0890175ca1b23 /tmux.h
parent09cc5302994a5f245dbbe5875e5e0670f9332a19 (diff)
downloadrtmux-70fc0858628a430fb8c2a9415d63d192939cc5b7.tar.gz
rtmux-70fc0858628a430fb8c2a9415d63d192939cc5b7.tar.bz2
rtmux-70fc0858628a430fb8c2a9415d63d192939cc5b7.zip
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.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 80d7dfb6..4b941567 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1,4 +1,4 @@
-/* $Id: tmux.h,v 1.420 2009-08-19 09:04:48 nicm Exp $ */
+/* $Id: tmux.h,v 1.421 2009-08-20 11:20:24 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -392,6 +392,7 @@ enum mode_key_cmd {
MODEKEYCOPY_COPYSELECTION,
MODEKEYCOPY_DOWN,
MODEKEYCOPY_ENDOFLINE,
+ MODEKEYCOPY_GOTOLINE,
MODEKEYCOPY_HALFPAGEDOWN,
MODEKEYCOPY_HALFPAGEUP,
MODEKEYCOPY_LEFT,
@@ -400,6 +401,9 @@ enum mode_key_cmd {
MODEKEYCOPY_PREVIOUSPAGE,
MODEKEYCOPY_PREVIOUSWORD,
MODEKEYCOPY_RIGHT,
+ MODEKEYCOPY_SEARCHAGAIN,
+ MODEKEYCOPY_SEARCHDOWN,
+ MODEKEYCOPY_SEARCHUP,
MODEKEYCOPY_STARTOFLINE,
MODEKEYCOPY_STARTSELECTION,
MODEKEYCOPY_UP,