aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-08-13 22:32:18 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-08-13 22:32:18 +0000
commit7a359c00aca2e35dc26c2239f4261f0fa53f0caf (patch)
tree65b9533b28419740f99e271e227087e1d420b04d /tmux.h
parent39154402e5907887c7c49095d60577932afd99ee (diff)
downloadrtmux-7a359c00aca2e35dc26c2239f4261f0fa53f0caf.tar.gz
rtmux-7a359c00aca2e35dc26c2239f4261f0fa53f0caf.tar.bz2
rtmux-7a359c00aca2e35dc26c2239f4261f0fa53f0caf.zip
vi(1)-style half page scroll in copy and scroll modes. Move the vi full page
scroll key to C-b instead of C-u and use C-u/C-d for half page scrolling with vi keys. In emacs mode, half page scrolling is bound to M-Up and M-Down. Suggested by merdely (about a year ago :-)).
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/tmux.h b/tmux.h
index 2e182660..2f58ce4b 100644
--- a/tmux.h
+++ b/tmux.h
@@ -388,12 +388,14 @@ enum mode_key_cmd {
MODEKEYCHOICE_UP,
/* Copy keys. */
- MODEKEYCOPY_CANCEL,
MODEKEYCOPY_BACKTOINDENTATION,
+ MODEKEYCOPY_CANCEL,
MODEKEYCOPY_CLEARSELECTION,
MODEKEYCOPY_COPYSELECTION,
MODEKEYCOPY_DOWN,
MODEKEYCOPY_ENDOFLINE,
+ MODEKEYCOPY_HALFPAGEDOWN,
+ MODEKEYCOPY_HALFPAGEUP,
MODEKEYCOPY_LEFT,
MODEKEYCOPY_NEXTPAGE,
MODEKEYCOPY_NEXTWORD,