From 2ea0b8fa031e4a05f9b4a5d56f3ee23a356bd790 Mon Sep 17 00:00:00 2001 From: Chris Allegretta Date: Thu, 20 Mar 2008 04:57:46 +0000 Subject: [PATCH] Fix default bracket match shortcut git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4244 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- ChangeLog | 6 +++++- src/global.c | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index eb2a8166..8f7877f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ -2008-03-17 Mike Frysinger +2008-03-19 Chris Allegretta + * gloabl.c: Fix bracket matching sequence to be M-] not M-[, as reported + Nick Warne . + +2008-03-18 Mike Frysinger * winio.c: Remove unneeded variable in parse_kbinput() * rcfile.c: relocate check_vitals_mapped() function to just above where it actually gets used and declare it "static void" in the process diff --git a/src/global.c b/src/global.c index 1f4139e7..85e91590 100644 --- a/src/global.c +++ b/src/global.c @@ -1107,7 +1107,7 @@ void shortcut_init(bool unjustify) add_to_sclist(MBROWSER|MWHEREISFILE, "M-/", (void *) last_file_msg, 0, TRUE); add_to_sclist(MBROWSER|MWHEREISFILE, "M-?", (void *) last_file_msg, 0, TRUE); #ifndef NANO_TINY - add_to_sclist(MMAIN, "M-[", do_find_bracket, 0, TRUE); + add_to_sclist(MMAIN, "M-]", do_find_bracket, 0, TRUE); add_to_sclist(MMAIN, "M--", do_scroll_up, 0, TRUE); add_to_sclist(MMAIN, "M-_", do_scroll_up, 0, TRUE); add_to_sclist(MMAIN, "M-+", do_scroll_down, 0, TRUE); -- 2.39.5