nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 4c20135749401e936fbd5515d510fa033dd7724c
parent f9ebf038e0fbb62de5ec0ec0c0a7bca672a4f159
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Tue, 26 Dec 2017 21:36:29 +0100

help: swap the order of the Complete and Comment functions

So that Commenting comes closer to the somewhat related Indenting
and Unindenting functions.

Diffstat:
Msrc/global.c | 10+++++-----
1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/global.c b/src/global.c @@ -970,13 +970,13 @@ void shortcut_init(void) add_to_funcs(do_unindent, MMAIN, N_("Unindent Text"), WITHORSANS(unindent_gist), BLANKAFTER, NOVIEW); #endif -#ifdef ENABLE_WORDCOMPLETION - add_to_funcs(complete_a_word, MMAIN, - N_("Complete"), WITHORSANS(completion_gist), TOGETHER, NOVIEW); -#endif #ifdef ENABLE_COMMENT add_to_funcs(do_comment, MMAIN, - N_("Comment Lines"), WITHORSANS(comment_gist), BLANKAFTER, NOVIEW); + N_("Comment Lines"), WITHORSANS(comment_gist), TOGETHER, NOVIEW); +#endif +#ifdef ENABLE_WORDCOMPLETION + add_to_funcs(complete_a_word, MMAIN, + N_("Complete"), WITHORSANS(completion_gist), BLANKAFTER, NOVIEW); #endif #ifndef NANO_TINY add_to_funcs(record_macro, MMAIN,