summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2007-07-18 13:11:58 +0000
committerSebastien Helleu <flashcode@flashtux.org>2007-07-18 13:11:58 +0000
commitbd0b7957a3057ca653d74c053a604f11e5653817 (patch)
tree1e0d012a03d3c433229d4c4631692255e57abbec /src
parentbd2ab776fe805b368a07ad6e851311136755a96c (diff)
downloadweechat-bd0b7957a3057ca653d74c053a604f11e5653817.zip
Added 3 default new keys: ctrl-B (left), ctrl-F (right), ctrl-D (delete)
Diffstat (limited to 'src')
-rw-r--r--src/gui/curses/gui-curses-keyboard.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-keyboard.c b/src/gui/curses/gui-curses-keyboard.c
index 24e4c9fdf..feb86e28f 100644
--- a/src/gui/curses/gui-curses-keyboard.c
+++ b/src/gui/curses/gui-curses-keyboard.c
@@ -51,6 +51,7 @@ gui_keyboard_default_bindings ()
gui_keyboard_bind ( /* basckpace */ "ctrl-H", "backspace");
gui_keyboard_bind ( /* basckpace */ "ctrl-?", "backspace");
gui_keyboard_bind ( /* del */ "meta2-3~", "delete");
+ gui_keyboard_bind ( /* ^D */ "ctrl-D", "delete");
gui_keyboard_bind ( /* ^K */ "ctrl-K", "delete_end_line");
gui_keyboard_bind ( /* ^U */ "ctrl-U", "delete_beginning_line");
gui_keyboard_bind ( /* ^W */ "ctrl-W", "delete_previous_word");
@@ -65,7 +66,9 @@ gui_keyboard_default_bindings ()
gui_keyboard_bind ( /* end */ "meta2-8~", "end");
gui_keyboard_bind ( /* ^E */ "ctrl-E", "end");
gui_keyboard_bind ( /* left */ "meta2-D", "left");
+ gui_keyboard_bind ( /* ^B */ "ctrl-B", "left");
gui_keyboard_bind ( /* right */ "meta2-C", "right");
+ gui_keyboard_bind ( /* ^F */ "ctrl-F", "right");
gui_keyboard_bind ( /* up */ "meta2-A", "up");
gui_keyboard_bind ( /* ^up */ "meta-Oa", "up_global");
gui_keyboard_bind ( /* down */ "meta2-B", "down");