diff --git a/ChangeLog b/ChangeLog index eb2a8166a6fe9e17096dbdf369fdc34e4c1d6acb..8f7877f5f0d5bb832e1bddedae57ce40006cd6a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,8 @@ -2008-03-17 Mike Frysinger <vapier@gentoo.org> +2008-03-19 Chris Allegretta <chrisa@asty.org> + * gloabl.c: Fix bracket matching sequence to be M-] not M-[, as reported + Nick Warne <nick@ukfsn.org>. + +2008-03-18 Mike Frysinger <vapier@gentoo.org> * 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 1f4139e733b2e90b4fa998e50bfa3d49d44fb1df..85e91590e1ff382118a39620037dfcd5fd9c1129 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);