From 08b49534d5a0a384093d35fd383ec5d6e7cdb4c8 Mon Sep 17 00:00:00 2001 From: Brand Huntsman Date: Tue, 17 Oct 2017 15:21:02 -0600 Subject: [PATCH] bindings: allow exiting from the help viewer with F1, like with ^G Signed-off-by: Brand Huntsman --- src/global.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/global.c b/src/global.c index 26c6fbfe..ba62725a 100644 --- a/src/global.c +++ b/src/global.c @@ -1344,6 +1344,7 @@ void shortcut_init(void) #endif #ifdef ENABLE_HELP add_to_sclist(MHELP, "^G", 0, do_exit, 0); + add_to_sclist(MHELP, "F1", 0, do_exit, 0); add_to_sclist(MHELP, "Home", KEY_HOME, do_first_line, 0); add_to_sclist(MHELP, "End", KEY_END, do_last_line, 0); #endif