Commit 044d1b1a authored by Chris Allegretta's avatar Chris Allegretta
Browse files

- General - Add Meta-A as alternate keyystroke for ^^ for people with non-US...

- 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-d3aeb78583b8
parent f7dee921
Showing with 6 additions and 2 deletions
+6 -2
CVS code -
- General
- Add Meta-A as alternate keyystroke for ^^ for people with
non-US keyboards.
- nano.c:
usage()
- Remove extra \n in --keypad description (Jordi).
......
......@@ -407,7 +407,7 @@ void shortcut_init(int unjustify)
nano_refresh_msg, 0, 0, 0, VIEW, total_refresh);
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"),
nano_delete_msg, 0, KEY_DC,
......@@ -423,7 +423,7 @@ void shortcut_init(int unjustify)
if (ISSET(PICO_MODE))
sc_init_one(&main_list[23], NANO_REPLACE_KEY, _("Replace"),
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
sc_init_one(&main_list[23], NANO_JUSTIFY_KEY, _("Justify"),
nano_justify_msg, 0, NANO_JUSTIFY_FKEY, 0,
......
......@@ -277,6 +277,7 @@ know what you're doing */
#define NANO_FORWARD_KEY NANO_CONTROL_F
#define NANO_BACK_KEY NANO_CONTROL_B
#define NANO_MARK_KEY NANO_CONTROL_6
#define NANO_ALT_MARK_KEY NANO_ALT_A
#define NANO_HOME_KEY NANO_CONTROL_A
#define NANO_END_KEY NANO_CONTROL_E
#define NANO_DELETE_KEY NANO_CONTROL_D
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment