README.md | 2 +- src/nnn.c | 2 +- src/nnn.h | 1 + diff --git a/README.md b/README.md index 44a26c522097118b29b443946275c8519d81b4c7..4990db49fe8bc532362d4daf613d9c2a88c89824 100644 --- a/README.md +++ b/README.md @@ -242,7 +242,7 @@ t Modification time s Size MISC !, ^] Spawn SHELL in dir C Execute entry R, ^V Run custom script L Lock terminal - ^S Run a command N Take note + ^S Run a command N, ^N Take note ``` Help & settings, file details, media info and archive listing are shown in the PAGER. Please use the PAGER-specific keys in these screens. diff --git a/src/nnn.c b/src/nnn.c index 534098948bf99658a529885d70740bb2c14a7ccf..178eb96b2c4d8642873089f237fab318d3af6fbe 100644 --- a/src/nnn.c +++ b/src/nnn.c @@ -2286,7 +2286,7 @@ "ct Modification time s Size\n" "1MISC\n" "8!, ^] Spawn SHELL in dir C Execute entry\n" "8R, ^V Run custom script L Lock terminal\n" - "b^S Run a command N Take note\n"}; + "b^S Run a command N, ^N Take note\n"}; if (fd == -1) return FALSE; diff --git a/src/nnn.h b/src/nnn.h index ae165f0708445108e34e42889a38b827f44a61f7..1500515d5b1e24ee5ebb2b496f1c2a379d6d2f74 100644 --- a/src/nnn.h +++ b/src/nnn.h @@ -225,6 +225,7 @@ { 'e', SEL_RUNEDIT }, { 'p', SEL_RUNPAGE }, /* Open notes file */ { 'N', SEL_NOTE }, + { CONTROL('N'), SEL_NOTE }, /* Lock screen */ { 'L', SEL_LOCK }, /* Quit a context */