Code

Bind '-' to PageUp; raises Mutt compatibility
authorJonas Fonseca <fonseca@diku.dk>
Sat, 20 May 2006 01:39:07 +0000 (03:39 +0200)
committerJonas Fonseca <fonseca@antimatter.localdomain>
Sat, 20 May 2006 02:21:41 +0000 (04:21 +0200)
Requested-by: Aneesh Kumar <aneesh.kumar@gmail.com>
Signed-off-by: Jonas Fonseca <fonseca@diku.dk>
tig.c

diff --git a/tig.c b/tig.c
index 40942a3b4600617153452ef7c863e7b576b8b794..bf2d6ecdf62ad95a13f7696c93c06fc3d8820174 100644 (file)
--- a/tig.c
+++ b/tig.c
@@ -1820,6 +1820,7 @@ static struct keymap keymap[] = {
         *      Move cursor one line down and enter.
         * PgUp::
         * b::
+        * -::
         *      Move cursor one page up.
         * PgDown::
         * Space::
@@ -1839,6 +1840,7 @@ static struct keymap keymap[] = {
        { ' ',          REQ_MOVE_PAGE_DOWN },
        { KEY_PPAGE,    REQ_MOVE_PAGE_UP },
        { 'b',          REQ_MOVE_PAGE_UP },
+       { '-',          REQ_MOVE_PAGE_UP },
 
        /**
         * Scrolling