1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

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
This commit is contained in:
Michael Vetter 2021-08-31 22:25:29 +02:00
parent e4ada15f21
commit c397657061
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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);