- General - Add Meta-A as alternate keyystroke for ^^ for people with non-US keyboards, and fix one missed NANO_ALT_R that should be NANO_ALT_REPLACE_KEY
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@987 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
f7dee92189
commit
044d1b1a6e
|
@ -1,4 +1,7 @@
|
||||||
CVS code -
|
CVS code -
|
||||||
|
- General
|
||||||
|
- Add Meta-A as alternate keyystroke for ^^ for people with
|
||||||
|
non-US keyboards.
|
||||||
- nano.c:
|
- nano.c:
|
||||||
usage()
|
usage()
|
||||||
- Remove extra \n in --keypad description (Jordi).
|
- Remove extra \n in --keypad description (Jordi).
|
||||||
|
|
4
global.c
4
global.c
|
@ -407,7 +407,7 @@ void shortcut_init(int unjustify)
|
||||||
nano_refresh_msg, 0, 0, 0, VIEW, total_refresh);
|
nano_refresh_msg, 0, 0, 0, VIEW, total_refresh);
|
||||||
|
|
||||||
sc_init_one(&main_list[19], NANO_MARK_KEY, _("Mark Text"),
|
sc_init_one(&main_list[19], NANO_MARK_KEY, _("Mark Text"),
|
||||||
nano_mark_msg, 0, 0, 0, NOVIEW, do_mark);
|
nano_mark_msg, NANO_ALT_MARK_KEY, 0, 0, NOVIEW, do_mark);
|
||||||
|
|
||||||
sc_init_one(&main_list[20], NANO_DELETE_KEY, _("Delete"),
|
sc_init_one(&main_list[20], NANO_DELETE_KEY, _("Delete"),
|
||||||
nano_delete_msg, 0, KEY_DC,
|
nano_delete_msg, 0, KEY_DC,
|
||||||
|
@ -423,7 +423,7 @@ void shortcut_init(int unjustify)
|
||||||
if (ISSET(PICO_MODE))
|
if (ISSET(PICO_MODE))
|
||||||
sc_init_one(&main_list[23], NANO_REPLACE_KEY, _("Replace"),
|
sc_init_one(&main_list[23], NANO_REPLACE_KEY, _("Replace"),
|
||||||
nano_replace_msg,
|
nano_replace_msg,
|
||||||
NANO_ALT_R, NANO_REPLACE_FKEY, 0, NOVIEW, do_replace);
|
NANO_ALT_REPLACE_KEY, NANO_REPLACE_FKEY, 0, NOVIEW, do_replace);
|
||||||
else
|
else
|
||||||
sc_init_one(&main_list[23], NANO_JUSTIFY_KEY, _("Justify"),
|
sc_init_one(&main_list[23], NANO_JUSTIFY_KEY, _("Justify"),
|
||||||
nano_justify_msg, 0, NANO_JUSTIFY_FKEY, 0,
|
nano_justify_msg, 0, NANO_JUSTIFY_FKEY, 0,
|
||||||
|
|
1
nano.h
1
nano.h
|
@ -277,6 +277,7 @@ know what you're doing */
|
||||||
#define NANO_FORWARD_KEY NANO_CONTROL_F
|
#define NANO_FORWARD_KEY NANO_CONTROL_F
|
||||||
#define NANO_BACK_KEY NANO_CONTROL_B
|
#define NANO_BACK_KEY NANO_CONTROL_B
|
||||||
#define NANO_MARK_KEY NANO_CONTROL_6
|
#define NANO_MARK_KEY NANO_CONTROL_6
|
||||||
|
#define NANO_ALT_MARK_KEY NANO_ALT_A
|
||||||
#define NANO_HOME_KEY NANO_CONTROL_A
|
#define NANO_HOME_KEY NANO_CONTROL_A
|
||||||
#define NANO_END_KEY NANO_CONTROL_E
|
#define NANO_END_KEY NANO_CONTROL_E
|
||||||
#define NANO_DELETE_KEY NANO_CONTROL_D
|
#define NANO_DELETE_KEY NANO_CONTROL_D
|
||||||
|
|
Loading…
Reference in New Issue