mirror of git://git.sv.gnu.org/nano.git
Showing ^F and ^B in the help lines of the tiny version.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4646 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
8977c4b153
commit
c3e4a1fadd
|
@ -1,3 +1,7 @@
|
|||
2014-03-17 Benno Schulenberg <bensberg@justemail.net>
|
||||
* src/global.c (shortcut_init) - Show ^F and ^B instead of kright
|
||||
and kleft in the help lines of the tiny version.
|
||||
|
||||
2014-03-16 Benno Schulenberg <bensberg@justemail.net>
|
||||
* src/nano.h - Display more help items when the terminal is wider.
|
||||
|
||||
|
|
|
@ -1192,13 +1192,15 @@ void shortcut_init(bool unjustify)
|
|||
add_to_sclist(MMAIN, "M-U", do_undo, 0, TRUE);
|
||||
add_to_sclist(MMAIN, "M-E", do_redo, 0, TRUE);
|
||||
}
|
||||
#endif
|
||||
add_to_sclist(MALL, "^F", do_right, 0, TRUE);
|
||||
add_to_sclist(MALL, "^B", do_left, 0, TRUE);
|
||||
add_to_sclist(MALL, "kright", do_right, 0, TRUE);
|
||||
add_to_sclist(MALL, "kleft", do_left, 0, TRUE);
|
||||
#ifndef NANO_TINY
|
||||
add_to_sclist(MMAIN, "^Space", do_next_word_void, 0, TRUE);
|
||||
add_to_sclist(MMAIN, "M-Space", do_prev_word_void, 0, TRUE);
|
||||
#endif
|
||||
add_to_sclist(MALL, "kright", do_right, 0, TRUE);
|
||||
add_to_sclist(MALL, "kleft", do_left, 0, TRUE);
|
||||
add_to_sclist(MMAIN, "^Q", xon_complaint, 0, TRUE);
|
||||
add_to_sclist(MMAIN, "^S", xoff_complaint, 0, TRUE);
|
||||
add_to_sclist(MMAIN|MHELP|MBROWSER, "^P", do_up_void, 0, TRUE);
|
||||
|
|
Loading…
Reference in New Issue