Putting ^B and ^F in the same order as other command keys:

first the backward, then the forward motion.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4651 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Benno Schulenberg 2014-03-17 21:26:53 +00:00
parent 5ac8651729
commit 88ff6a7f3d
2 changed files with 7 additions and 10 deletions

View File

@ -8,6 +8,8 @@
* src/{nano.h,proto.h,color.c,cut.c,files.c,global.c,help.c,nano.c,
search.c,text.c,utils.c} - Add, fix, and remove some #endif comments,
remove an obsolete comment, and remove some superfluous #ifndefs.
* src/global.c (shortcut_init) - Put ^B and ^F in the same order as
all other command keys: first the backward then the forward motion.
2014-03-16 Benno Schulenberg <bensberg@justemail.net>
* src/nano.h - Display more help items when the terminal is wider.

View File

@ -903,25 +903,20 @@ void shortcut_init(bool unjustify)
}
#endif /* !NANO_TINY */
add_to_funcs(do_right, MMAIN, N_("Forward"), IFSCHELP(nano_forward_msg),
FALSE, VIEW);
#ifndef DISABLE_BROWSER
add_to_funcs(do_right, MBROWSER, N_("Forward"), IFSCHELP(nano_forwardfile_msg),
FALSE, VIEW);
#endif
add_to_funcs(do_right, MALL, "", "", FALSE, VIEW);
add_to_funcs(do_left, MMAIN, N_("Back"), IFSCHELP(nano_back_msg),
FALSE, VIEW);
add_to_funcs(do_right, MMAIN, N_("Forward"), IFSCHELP(nano_forward_msg),
FALSE, VIEW);
#ifndef DISABLE_BROWSER
add_to_funcs(do_left, MBROWSER, N_("Back"), IFSCHELP(nano_backfile_msg),
FALSE, VIEW);
add_to_funcs(do_right, MBROWSER, N_("Forward"), IFSCHELP(nano_forwardfile_msg),
FALSE, VIEW);
#endif
add_to_funcs(do_left, MALL, "", "", FALSE, VIEW);
add_to_funcs(do_right, MALL, "", "", FALSE, VIEW);
#ifndef NANO_TINY
add_to_funcs(do_prev_word_void, MMAIN, N_("Prev Word"),