summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2008-11-11 13:37:39 +0100
committerSebastien Helleu <flashcode@flashtux.org>2008-11-11 13:37:39 +0100
commitf086a33162e4a076ef8db7c2c3423d37f8e9638d (patch)
tree4bd037d744c69ad3c682a079a24e079c429bf4a0
parent1214f10526277d856816ce4fbb5a6caf7c4e2749 (diff)
downloadweechat-f086a33162e4a076ef8db7c2c3423d37f8e9638d.zip
Add new default keys for previous/next buffer: ctrl-P,alt-up and ctrl-N,alt-down
-rw-r--r--src/gui/curses/gui-curses-keyboard.c4
1 files changed, 4 insertions, 0 deletions
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");