diff --git a/src/global.c b/src/global.c index 5270bbd4..d47067e7 100644 --- a/src/global.c +++ b/src/global.c @@ -815,12 +815,13 @@ void shortcut_init(void) add_to_funcs(get_history_newer_void, MWHEREIS|MREPLACE|MREPLACEWITH|MWHEREISFILE, N_("Newer"), WITHORSANS(newer_gist), BLANKAFTER, VIEW); #endif -#ifdef ENABLE_JUSTIFY - add_to_funcs(do_full_justify, MWHEREIS, - N_("FullJstify"), WITHORSANS(fulljustify_gist), TOGETHER, NOVIEW); add_to_funcs(flip_goto, MWHEREIS, - N_("Go To Line"), WITHORSANS(gotoline_gist), BLANKAFTER, VIEW); + N_("Go To Line"), WITHORSANS(gotoline_gist), TOGETHER, VIEW); + +#ifdef ENABLE_JUSTIFY + add_to_funcs(do_full_justify, MWHEREIS, + N_("FullJstify"), WITHORSANS(fulljustify_gist), BLANKAFTER, NOVIEW); #endif #ifndef NANO_TINY @@ -991,11 +992,6 @@ void shortcut_init(void) N_("Save"), WITHORSANS(savefile_gist), BLANKAFTER, NOVIEW); #endif -#ifndef ENABLE_JUSTIFY - add_to_funcs(flip_goto, MWHEREIS, - N_("Go To Line"), WITHORSANS(gotoline_gist), BLANKAFTER, VIEW); -#endif - add_to_funcs(flip_goto, MGOTOLINE, N_("Go To Text"), WITHORSANS(whereis_gist), BLANKAFTER, VIEW);