From 967a1e28f6c365942b85aa9c8581ef90437bba70 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Thu, 10 Jan 2002 00:50:38 +0000 Subject: [PATCH] - General - Add Alt-G (NANO_ALT_GOTO_KEY) as alternate for goto dir in browser git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@991 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 2 ++ global.c | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4e19c2f4..3f7254a4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,8 @@ CVS code - - General - Add Meta-A as alternate keyystroke for ^^ for people with non-US keyboards. + - Add Alt-G (NANO_ALT_GOTO_KEY) as alternate for goto dir in + browser. - Better partial word checking code. New function search.c:is_whole_word(), changes to findnextstr(), and nano.c:do_int_spell_fix() (Rocco Corsi). diff --git a/global.c b/global.c index b99f0109..aeb76acc 100644 --- a/global.c +++ b/global.c @@ -596,7 +596,8 @@ void shortcut_init(int unjustify) 0, NANO_NEXTPAGE_FKEY, KEY_NPAGE, VIEW, 0); sc_init_one(&browser_list[4], NANO_GOTO_KEY, _("Goto"), - nano_gotodir_msg, 0, NANO_GOTO_FKEY, 0, VIEW, 0); + nano_gotodir_msg, NANO_ALT_GOTO_KEY, NANO_GOTO_FKEY, 0, + VIEW, 0); sc_init_one(&gotodir_list[0], NANO_HELP_KEY, _("Get Help"), nano_help_msg, 0, 0, 0, VIEW, do_help); -- 2.39.5