summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-10-13 13:45:57 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-10-13 13:45:57 +0000
commit11a206aa48af166713facd1a20b777f142135a11 (patch)
treeedb0f7248e22e738ba9b2cef786d6bfd815fb3e0 /usr.bin/tmux/tmux.h
parent425c25a1fad20be0bcdd4825c0ad514513d698aa (diff)
Add mode keys to move the cursor to the top, middle and bottom of the screen.
H/M/L in vi mode and M-R/M-r in emacs (bottom of screen not bound in emacs).
Diffstat (limited to 'usr.bin/tmux/tmux.h')
-rw-r--r--usr.bin/tmux/tmux.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h
index e11be3804c0..3e29ace84be 100644
--- a/usr.bin/tmux/tmux.h
+++ b/usr.bin/tmux/tmux.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.h,v 1.137 2009/10/12 17:19:47 nicm Exp $ */
+/* $OpenBSD: tmux.h,v 1.138 2009/10/13 13:45:56 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -397,6 +397,7 @@ enum mode_key_cmd {
/* Copy keys. */
MODEKEYCOPY_BACKTOINDENTATION,
+ MODEKEYCOPY_BOTTOMLINE,
MODEKEYCOPY_CANCEL,
MODEKEYCOPY_CLEARSELECTION,
MODEKEYCOPY_COPYSELECTION,
@@ -406,6 +407,7 @@ enum mode_key_cmd {
MODEKEYCOPY_HALFPAGEDOWN,
MODEKEYCOPY_HALFPAGEUP,
MODEKEYCOPY_LEFT,
+ MODEKEYCOPY_MIDDLELINE,
MODEKEYCOPY_NEXTPAGE,
MODEKEYCOPY_NEXTWORD,
MODEKEYCOPY_PREVIOUSPAGE,
@@ -418,6 +420,7 @@ enum mode_key_cmd {
MODEKEYCOPY_SEARCHUP,
MODEKEYCOPY_STARTOFLINE,
MODEKEYCOPY_STARTSELECTION,
+ MODEKEYCOPY_TOPLINE,
MODEKEYCOPY_UP,
};