- Add NANO_UNJUSTIFY_FKEY (the same as NANO_UNCUT_FKEY) to the
shortcut list, and tweak the unjustify routine to use it.
(DLR)
+ - Add more intuitive Meta-key aliases for moving to the
+ beginning and ending lines of a paragraph at the search
+ prompt: Meta-P and Meta-N. (DLR)
- files.c:
add_open_files()
- Make the saving of marked status in open_files->file_flags
#ifndef DISABLE_JUSTIFY
/* Translators: try to keep this string under 10 characters long */
sc_init_one(&whereis_list, NANO_PARABEGIN_KEY, _("Beg of Par"),
- IFHELP(nano_parabegin_msg, NANO_NO_KEY), NANO_NO_KEY,
+ IFHELP(nano_parabegin_msg, NANO_PARABEGIN_ALTKEY), NANO_NO_KEY,
NANO_NO_KEY, VIEW, do_para_begin);
/* Translators: try to keep this string under 10 characters long */
sc_init_one(&whereis_list, NANO_PARAEND_KEY, _("End of Par"),
- IFHELP(nano_paraend_msg, NANO_NO_KEY), NANO_NO_KEY,
+ IFHELP(nano_paraend_msg, NANO_PARAEND_ALTKEY), NANO_NO_KEY,
NANO_NO_KEY, VIEW, do_para_end);
#endif
#define NANO_NEXTWORD_KEY NANO_CONTROL_SPACE
#define NANO_PREVWORD_KEY NANO_ALT_SPACE
#define NANO_PARABEGIN_KEY NANO_CONTROL_W
+#define NANO_PARABEGIN_ALTKEY NANO_ALT_P
#define NANO_PARAEND_KEY NANO_CONTROL_O
+#define NANO_PARAEND_ALTKEY NANO_ALT_N
#define NANO_VERBATIM_KEY NANO_ALT_V
#ifndef NANO_SMALL