Commit a10fdc3f authored by Benno Schulenberg's avatar Benno Schulenberg
Browse files

help: show that "Tab" will indent, just like "Sh-Tab" will unindent

Also, make the descriptions for indenting/unindenting more precise.
parent 8581e702
Showing with 5 additions and 4 deletions
+5 -4
......@@ -564,8 +564,8 @@ void shortcut_init(void)
const char *mark_gist = N_("Mark text starting from the cursor position");
const char *copy_gist =
N_("Copy the current line and store it in the cutbuffer");
const char *indent_gist = N_("Indent the current line");
const char *unindent_gist = N_("Unindent the current line");
const char *indent_gist = N_("Indent the current line (or marked lines)");
const char *unindent_gist = N_("Unindent the current line (or marked lines)");
const char *undo_gist = N_("Undo the last operation");
const char *redo_gist = N_("Redo the last undone operation");
#endif
......@@ -629,7 +629,7 @@ void shortcut_init(void)
#endif
#ifdef ENABLE_COMMENT
const char *comment_gist =
N_("Comment/uncomment the current line or marked lines");
N_("Comment/uncomment the current line (or marked lines)");
#endif
#ifndef NANO_TINY
const char *savefile_gist = N_("Save file without prompting");
......@@ -1151,8 +1151,9 @@ void shortcut_init(void)
add_to_sclist(MMAIN, "M-6", 0, do_copy_text, 0);
add_to_sclist(MMAIN, "M-^", 0, do_copy_text, 0);
add_to_sclist(MMAIN, "M-}", 0, do_indent, 0);
add_to_sclist(MMAIN, "Tab", TAB_CODE, do_indent, 0);
add_to_sclist(MMAIN, "M-{", 0, do_unindent, 0);
add_to_sclist(MMAIN, "S-Tab", SHIFT_TAB, do_unindent, 0);
add_to_sclist(MMAIN, "Sh-Tab", SHIFT_TAB, do_unindent, 0);
add_to_sclist(MMAIN, "M-:", 0, record_macro, 0);
add_to_sclist(MMAIN, "M-;", 0, run_macro, 0);
add_to_sclist(MMAIN, "M-U", 0, do_undo, 0);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment