Fix default bracket match shortcut

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4244 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
Chris Allegretta 2008-03-20 04:57:46 +00:00
parent dcd19c955f
commit 2ea0b8fa03
2 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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);