Limiting M-T to the main, and M-J to the main and search menus.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4736 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
родитель
24ed1bb576
Коммит
ef97655753
@ -1,3 +1,7 @@
|
|||||||
|
2014-04-06 Benno Schulenberg <bensberg@justemail.net>
|
||||||
|
* src/global.c (shortcut_init): Limit M-T (cut-till-end) to the main
|
||||||
|
menu, and M-J (full-justify) to the main and search menus.
|
||||||
|
|
||||||
2014-04-05 Benno Schulenberg <bensberg@justemail.net>
|
2014-04-05 Benno Schulenberg <bensberg@justemail.net>
|
||||||
* src/nano.c (version): Print the correct configuration options.
|
* src/nano.c (version): Print the correct configuration options.
|
||||||
* src/{chars.c,nano.c,text.c}: Cosmetic tweaks.
|
* src/{chars.c,nano.c,text.c}: Cosmetic tweaks.
|
||||||
|
@ -1229,14 +1229,15 @@ void shortcut_init(bool unjustify)
|
|||||||
add_to_sclist(MMAIN, "M->", switch_to_next_buffer_void, 0, TRUE);
|
add_to_sclist(MMAIN, "M->", switch_to_next_buffer_void, 0, TRUE);
|
||||||
add_to_sclist(MMAIN, "M-.", switch_to_next_buffer_void, 0, TRUE);
|
add_to_sclist(MMAIN, "M-.", switch_to_next_buffer_void, 0, TRUE);
|
||||||
#endif
|
#endif
|
||||||
add_to_sclist(MALL, "M-V", do_verbatim_input, 0, TRUE);
|
|
||||||
|
|
||||||
|
add_to_sclist(MALL, "M-V", do_verbatim_input, 0, TRUE);
|
||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
add_to_sclist(MALL, "M-T", do_cut_till_end, 0, TRUE);
|
add_to_sclist(MMAIN, "M-T", do_cut_till_end, 0, TRUE);
|
||||||
#ifndef DISABLE_JUSTIFY
|
#ifndef DISABLE_JUSTIFY
|
||||||
add_to_sclist(MALL, "M-J", do_full_justify, 0, TRUE);
|
add_to_sclist(MMAIN|MWHEREIS, "M-J", do_full_justify, 0, TRUE);
|
||||||
#endif
|
#endif
|
||||||
add_to_sclist(MMAIN, "M-D", do_wordlinechar_count, 0, TRUE);
|
add_to_sclist(MMAIN, "M-D", do_wordlinechar_count, 0, TRUE);
|
||||||
|
|
||||||
add_to_sclist(MMAIN, "M-X", do_toggle_void, NO_HELP, TRUE);
|
add_to_sclist(MMAIN, "M-X", do_toggle_void, NO_HELP, TRUE);
|
||||||
add_to_sclist(MMAIN, "M-C", do_toggle_void, CONST_UPDATE, TRUE);
|
add_to_sclist(MMAIN, "M-C", do_toggle_void, CONST_UPDATE, TRUE);
|
||||||
add_to_sclist(MMAIN, "M-O", do_toggle_void, MORE_SPACE, TRUE);
|
add_to_sclist(MMAIN, "M-O", do_toggle_void, MORE_SPACE, TRUE);
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user