- Typo fixes in help strings (Jordi).
- New variable helplen needes cause currslen is not always
the length we want (bug found by David Lawrence Ramsey).
+ - Typo in file switch string (found by David Lawrence Ramsey).
+ main()
+ - Handle Alt prev/next file keys (,.), as well as normal ones (<>).
- files.c:
read_file()
- Make conversion message less confusing (suggested by Jordi).
"support, and enable multiple buffers with the -F "
"or --multibuffer command line flags, the Meta-F toggle or "
"using a nanorc file, inserting a file will cause it to be "
- "loaded into a separate buffer (use Ctrl-< and > to switch "
+ "loaded into a separate buffer (use Meta-< and > to switch "
"between file buffers).\n\n The following function keys are "
"available in Insert File mode:\n\n");
else if (currshortcut == writefile_list)
break;
#ifdef ENABLE_MULTIBUFFER
case NANO_OPENPREV_KEY:
+ case NANO_OPENPREV_ALTKEY:
open_prevfile(0);
keyhandled = 1;
break;
case NANO_OPENNEXT_KEY:
+ case NANO_OPENNEXT_ALTKEY:
open_nextfile(0);
keyhandled = 1;
break;
#define NANO_ALT_X 'x'
#define NANO_ALT_Y 'y'
#define NANO_ALT_Z 'z'
-#define NANO_ALT_LCARAT ','
-#define NANO_ALT_RCARAT '.'
+#define NANO_ALT_PERIOD ','
+#define NANO_ALT_COMMA '.'
+#define NANO_ALT_LCARAT '<'
+#define NANO_ALT_RCARAT '>'
#define NANO_ALT_BRACKET ']'
/* Some semi-changeable keybindings; don't play with unless you're sure you
#define NANO_APPEND_KEY NANO_ALT_A
#define NANO_OPENPREV_KEY NANO_ALT_LCARAT
#define NANO_OPENNEXT_KEY NANO_ALT_RCARAT
+#define NANO_OPENPREV_ALTKEY NANO_ALT_COMMA
+#define NANO_OPENNEXT_ALTKEY NANO_ALT_PERIOD
#define NANO_BRACKET_KEY NANO_ALT_BRACKET
#define TOGGLE_CONST_KEY NANO_ALT_C