diff options
author | Timo Sirainen <cras@irssi.org> | 2002-02-15 15:54:59 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2002-02-15 15:54:59 +0000 |
commit | b18424f7cb85120855156f837cc291a71af970e7 (patch) | |
tree | bb422e52e0263a5baf65d36b0eb2cfa38ed52a30 /src | |
parent | d84c0540245b4681861add6a8356a1f6bff60ad6 (diff) | |
download | irssi-b18424f7cb85120855156f837cc291a71af970e7.zip |
added meta-f and meta-b for forward/backward word
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2453 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src')
-rw-r--r-- | src/fe-text/gui-readline.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c index 2ec9bd2d..c5602262 100644 --- a/src/fe-text/gui-readline.c +++ b/src/fe-text/gui-readline.c @@ -635,7 +635,9 @@ void gui_readline_init(void) key_bind("backward_character", "", "left", NULL, (SIGNAL_FUNC) key_backward_character); key_bind("forward_character", "", "right", NULL, (SIGNAL_FUNC) key_forward_character); key_bind("backward_word", "", "cleft", NULL, (SIGNAL_FUNC) key_backward_word); + key_bind("backward_word", NULL, "meta-b", NULL, (SIGNAL_FUNC) key_backward_word); key_bind("forward_word", "", "cright", NULL, (SIGNAL_FUNC) key_forward_word); + key_bind("forward_word", NULL, "meta-f", NULL, (SIGNAL_FUNC) key_forward_word); key_bind("backward_to_space", "", NULL, NULL, (SIGNAL_FUNC) key_backward_to_space); key_bind("forward_to_space", "", NULL, NULL, (SIGNAL_FUNC) key_forward_to_space); key_bind("beginning_of_line", "", "home", NULL, (SIGNAL_FUNC) key_beginning_of_line); |