summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiklas Luokkala <niklas.luokkala@gmail.com>2018-01-24 01:49:28 +0200
committerNiklas Luokkala <niklas.luokkala@gmail.com>2018-01-24 01:49:28 +0200
commit0ba1b1f2a4f0b2be6bb1077d54dda546f3db46ad (patch)
tree877c3986827b817a7a4410434e44b39939c9cc93
parentd14dbbd09338f5cd8d14c1ec15bcf3c7fd43a3c7 (diff)
downloadirssi-0ba1b1f2a4f0b2be6bb1077d54dda546f3db46ad.zip
removed unnecessary repetition
-rw-r--r--src/fe-text/gui-readline.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/fe-text/gui-readline.c b/src/fe-text/gui-readline.c
index c7cf6369..d425739d 100644
--- a/src/fe-text/gui-readline.c
+++ b/src/fe-text/gui-readline.c
@@ -1279,9 +1279,8 @@ void gui_readline_init(void)
/* line transmitting */
key_bind("send_line", "Execute the input line", "return", NULL, (SIGNAL_FUNC) key_send_line);
- key_bind("word_completion_backward", "", NULL, NULL, (SIGNAL_FUNC) key_word_completion_backward);
- key_bind("word_completion", "Complete the current word", "tab", NULL, (SIGNAL_FUNC) key_word_completion);
key_bind("word_completion_backward", "Completes the previous word", "shifttab", NULL, (SIGNAL_FUNC) key_word_completion_backward);
+ key_bind("word_completion", "Complete the current word", "tab", NULL, (SIGNAL_FUNC) key_word_completion);
key_bind("erase_completion", "Remove the completion added by word_completion", "meta-k", NULL, (SIGNAL_FUNC) key_erase_completion);
key_bind("check_replaces", "Check word replaces", NULL, NULL, (SIGNAL_FUNC) key_check_replaces);