From f086a33162e4a076ef8db7c2c3423d37f8e9638d Mon Sep 17 00:00:00 2001 From: Sebastien Helleu Date: Tue, 11 Nov 2008 13:37:39 +0100 Subject: [PATCH] Add new default keys for previous/next buffer: ctrl-P,alt-up and ctrl-N,alt-down --- src/gui/curses/gui-curses-keyboard.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/curses/gui-curses-keyboard.c b/src/gui/curses/gui-curses-keyboard.c index 81de93748..f000f494a 100644 --- a/src/gui/curses/gui-curses-keyboard.c +++ b/src/gui/curses/gui-curses-keyboard.c @@ -105,10 +105,14 @@ gui_keyboard_default_bindings () gui_keyboard_bind (NULL, /* ^Cu */ "ctrl-Cu", "/input insert \\x15"); gui_keyboard_bind (NULL, /* m-left */ "meta-meta2-D", "/buffer -1"); gui_keyboard_bind (NULL, /* m-left (kde) */ "meta2-1;3D", "/buffer -1"); + gui_keyboard_bind (NULL, /* m-up */ "meta-meta2-A", "/buffer -1"); gui_keyboard_bind (NULL, /* F5 */ "meta2-15~", "/buffer -1"); + gui_keyboard_bind (NULL, /* ^P */ "ctrl-P", "/buffer -1"); gui_keyboard_bind (NULL, /* m-right */ "meta-meta2-C", "/buffer +1"); gui_keyboard_bind (NULL, /* m-right (kde) */ "meta2-1;3C", "/buffer +1"); + gui_keyboard_bind (NULL, /* m-down */ "meta-meta2-B", "/buffer +1"); gui_keyboard_bind (NULL, /* F6 */ "meta2-17~", "/buffer +1"); + gui_keyboard_bind (NULL, /* ^N */ "ctrl-N", "/buffer +1"); gui_keyboard_bind (NULL, /* pgup */ "meta2-5~", "/window page_up"); gui_keyboard_bind (NULL, /* pgup */ "meta2-I", "/window page_up"); gui_keyboard_bind (NULL, /* pgdn */ "meta2-6~", "/window page_down");