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
Этот коммит содержится в:
родитель
95b9850517
Коммит
bd5966061c
@ -101,6 +101,7 @@ CVS code -
|
|||||||
(DLR and Benno Schulenberg, suggested by Benno Schulenberg)
|
(DLR and Benno Schulenberg, suggested by Benno Schulenberg)
|
||||||
- Tweak the descriptions of some shortcut keys to make them more
|
- Tweak the descriptions of some shortcut keys to make them more
|
||||||
uniform. (Benno Schulenberg, minor tweaks by DLR)
|
uniform. (Benno Schulenberg, minor tweaks by DLR)
|
||||||
|
- Add Meta-} as an alias for Meta-]. (DLR)
|
||||||
toggle_init()
|
toggle_init()
|
||||||
- In the global toggle list, move the "Constant cursor position
|
- In the global toggle list, move the "Constant cursor position
|
||||||
display" toggle up to after the "Use more space for editing"
|
display" toggle up to after the "Use more space for editing"
|
||||||
|
@ -619,7 +619,7 @@ void shortcut_init(bool unjustify)
|
|||||||
#ifndef NANO_TINY
|
#ifndef NANO_TINY
|
||||||
sc_init_one(&main_list, NANO_NO_KEY, N_("Find Other Bracket"),
|
sc_init_one(&main_list, NANO_NO_KEY, N_("Find Other Bracket"),
|
||||||
IFHELP(nano_bracket_msg, FALSE), NANO_BRACKET_KEY, NANO_NO_KEY,
|
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"),
|
sc_init_one(&main_list, NANO_NO_KEY, N_("Scroll Up"),
|
||||||
IFHELP(nano_scrollup_msg, FALSE), NANO_SCROLLUP_KEY,
|
IFHELP(nano_scrollup_msg, FALSE), NANO_SCROLLUP_KEY,
|
||||||
|
@ -458,6 +458,7 @@ typedef struct rcoption {
|
|||||||
#define NANO_ALT_Y 'y'
|
#define NANO_ALT_Y 'y'
|
||||||
#define NANO_ALT_Z 'z'
|
#define NANO_ALT_Z 'z'
|
||||||
#define NANO_ALT_PIPE '|'
|
#define NANO_ALT_PIPE '|'
|
||||||
|
#define NANO_ALT_RCURLYBRACKET '}'
|
||||||
|
|
||||||
/* Some semi-changeable keybindings; don't play with these unless you're
|
/* 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. */
|
* 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_PREVFILE_ALTKEY NANO_ALT_COMMA
|
||||||
#define NANO_NEXTFILE_ALTKEY NANO_ALT_PERIOD
|
#define NANO_NEXTFILE_ALTKEY NANO_ALT_PERIOD
|
||||||
#define NANO_BRACKET_KEY NANO_ALT_RBRACKET
|
#define NANO_BRACKET_KEY NANO_ALT_RBRACKET
|
||||||
|
#define NANO_BRACKET_ALTKEY NANO_ALT_RCURLYBRACKET
|
||||||
#define NANO_NEXTWORD_KEY NANO_CONTROL_SPACE
|
#define NANO_NEXTWORD_KEY NANO_CONTROL_SPACE
|
||||||
#define NANO_PREVWORD_KEY NANO_ALT_SPACE
|
#define NANO_PREVWORD_KEY NANO_ALT_SPACE
|
||||||
#define NANO_WORDCOUNT_KEY NANO_ALT_D
|
#define NANO_WORDCOUNT_KEY NANO_ALT_D
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user