From c39765706104e699d67dae2808c9b079271f51ca Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Tue, 31 Aug 2021 22:25:29 +0200 Subject: [PATCH] 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 --- src/command/cmd_defs.c | 2 +- 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 ", "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);