diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2023-03-26 16:23:30 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2023-03-26 20:30:17 +0200 |
commit | a508640fa08188aeeeb42ea834103d6379ae1943 (patch) | |
tree | c2dd93d7d0bcb974b531774602016db5b220492c /src/gui | |
parent | e6b19056799f924dc647b821a904f2e668034801 (diff) | |
download | weechat-a508640fa08188aeeeb42ea834103d6379ae1943.zip |
core: add keys `shift-left` and `shift-right` with same commands as `left` and `right` (issue #1503)
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/curses/gui-curses-key.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/curses/gui-curses-key.c b/src/gui/curses/gui-curses-key.c index a69f203d0..b4b7ad595 100644 --- a/src/gui/curses/gui-curses-key.c +++ b/src/gui/curses/gui-curses-key.c @@ -109,8 +109,10 @@ gui_key_default_bindings (int context, int create_option) BIND("ctrl-e", "/input move_end_of_line"); BIND("shift-end", "/input move_end_of_input"); BIND("left", "/input move_previous_char"); + BIND("shift-left", "/input move_previous_char"); BIND("ctrl-b", "/input move_previous_char"); BIND("right", "/input move_next_char"); + BIND("shift-right", "/input move_next_char"); BIND("ctrl-f", "/input move_next_char"); BIND("meta-b", "/input move_previous_word"); BIND("ctrl-left", "/input move_previous_word"); |