1
1

in shortcut_init(), add Meta-} as an alias for Meta-]

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3436 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
David Lawrence Ramsey 2006-04-26 17:24:46 +00:00
родитель 95b9850517
Коммит bd5966061c
3 изменённых файлов: 4 добавлений и 1 удалений

Просмотреть файл

@ -101,6 +101,7 @@ CVS code -
(DLR and Benno Schulenberg, suggested by Benno Schulenberg)
- Tweak the descriptions of some shortcut keys to make them more
uniform. (Benno Schulenberg, minor tweaks by DLR)
- Add Meta-} as an alias for Meta-]. (DLR)
toggle_init()
- In the global toggle list, move the "Constant cursor position
display" toggle up to after the "Use more space for editing"

Просмотреть файл

@ -619,7 +619,7 @@ void shortcut_init(bool unjustify)
#ifndef NANO_TINY
sc_init_one(&main_list, NANO_NO_KEY, N_("Find Other Bracket"),
IFHELP(nano_bracket_msg, FALSE), NANO_BRACKET_KEY, NANO_NO_KEY,
NANO_NO_KEY, VIEW, do_find_bracket);
NANO_BRACKET_ALTKEY, VIEW, do_find_bracket);
sc_init_one(&main_list, NANO_NO_KEY, N_("Scroll Up"),
IFHELP(nano_scrollup_msg, FALSE), NANO_SCROLLUP_KEY,

Просмотреть файл

@ -458,6 +458,7 @@ typedef struct rcoption {
#define NANO_ALT_Y 'y'
#define NANO_ALT_Z 'z'
#define NANO_ALT_PIPE '|'
#define NANO_ALT_RCURLYBRACKET '}'
/* Some semi-changeable keybindings; don't play with these unless you're
* sure you know what you're doing. Assume ERR is defined as -1. */
@ -549,6 +550,7 @@ typedef struct rcoption {
#define NANO_PREVFILE_ALTKEY NANO_ALT_COMMA
#define NANO_NEXTFILE_ALTKEY NANO_ALT_PERIOD
#define NANO_BRACKET_KEY NANO_ALT_RBRACKET
#define NANO_BRACKET_ALTKEY NANO_ALT_RCURLYBRACKET
#define NANO_NEXTWORD_KEY NANO_CONTROL_SPACE
#define NANO_PREVWORD_KEY NANO_ALT_SPACE
#define NANO_WORDCOUNT_KEY NANO_ALT_D