From a2878bff67d71fd0171a6758a872cdb02dcb7880 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Fri, 18 Sep 2020 19:07:58 +0200 Subject: [PATCH] help: nicely pair menu items also when built with just --disable-help --- src/global.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/global.c b/src/global.c index d9ceb521..39b3fbd8 100644 --- a/src/global.c +++ b/src/global.c @@ -749,6 +749,9 @@ void shortcut_init(void) #ifndef ENABLE_HELP add_to_funcs(full_refresh, MMAIN|MREPLACE, "Refresh", "x", 0, VIEW); +#ifndef NANO_TINY + add_to_funcs(full_refresh, MINSERTFILE|MEXECUTE, "Refresh", "x", 0, VIEW); +#endif add_to_funcs(flip_goto, MWHEREIS, "Go To Line", "x", 0, VIEW); add_to_funcs(flip_goto, MGOTOLINE, "Go To Text", "x", 0, VIEW); #endif