diff options
author | Michael Vetter <jubalh@iodoru.org> | 2021-08-31 22:25:29 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2021-08-31 22:25:29 +0200 |
commit | c39765706104e699d67dae2808c9b079271f51ca (patch) | |
tree | 32213ccb53869c6fccd8321a10dc3e9bd955d3cd /src | |
parent | e4ada15f21c49ce17b99a81f940b32915d39e5fc (diff) | |
download | profani-tty-c39765706104e699d67dae2808c9b079271f51ca.tar.gz |
Change attentionflag shortcut to alt+v
alt+f is the default readline shortcut for forward one word. Regards https://github.com/profanity-im/profanity/issues/1580
Diffstat (limited to 'src')
-rw-r--r-- | src/command/cmd_defs.c | 2 | ||||
-rw-r--r-- | src/ui/inputwin.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index 423de94e..d86e62a3 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -999,7 +999,7 @@ static struct cmd_t command_defs[] = { "Passing no argument will list all currently active windows and information about their usage.") CMD_ARGS( { "unread", "List windows with unread messages." }, - { "attention", "List windows that have been marked with the attention flag (alt+f). You can toggle between marked windows with alt+m." }, + { "attention", "List windows that have been marked with the attention flag (alt+v). You can toggle between marked windows with alt+m." }, { "prune", "Close all windows with no unread messages." }, { "swap <source> <target>", "Swap windows, target may be an empty position." }) CMD_NOEXAMPLES diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c index b2b2ea33..3e2f6a67 100644 --- a/src/ui/inputwin.c +++ b/src/ui/inputwin.c @@ -482,7 +482,7 @@ _inp_rl_startup_hook(void) rl_bind_keyseq("\\e\\e[C", _inp_rl_win_next_handler); rl_bind_keyseq("\\ea", _inp_rl_win_next_unread_handler); - rl_bind_keyseq("\\ef", _inp_rl_win_attention_handler); + rl_bind_keyseq("\\ev", _inp_rl_win_attention_handler); rl_bind_keyseq("\\em", _inp_rl_win_attention_next_handler); rl_bind_keyseq("\\e\\e[5~", _inp_rl_subwin_pageup_handler); |