Remove key N

This commit is contained in:
Arun Prakash Jana 2019-01-31 19:28:35 +05:30
parent 2128dab98a
commit 8b0fa2be44
No known key found for this signature in database
GPG Key ID: A75979F35C080412
4 changed files with 8 additions and 9 deletions

View File

@ -241,11 +241,11 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
e Edit in EDITOR p Open in PAGER e Edit in EDITOR p Open in PAGER
ORDER TOGGLES ORDER TOGGLES
^J Disk usage S Apparent du ^J Disk usage S Apparent du
t Modification time s Size t Time modified s Size
MISC MISC
! ^] Spawn SHELL C Execute entry ! ^] Spawn SHELL C Execute entry
R ^V Run/choose script L Lock terminal R ^V Run/pick script L Lock terminal
^P Command prompt N ^N Take note ^P Command prompt ^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. Help & settings, file details, media info and archive listing are shown in the PAGER. Please use the PAGER-specific keys in these screens.

4
nnn.1
View File

@ -147,10 +147,10 @@ Spawn SHELL in current directory (fallback sh)
.It Ic C .It Ic C
Execute entry Execute entry
.It Ic R, ^V .It Ic R, ^V
Run or choose a custom script Run or pick a script to run
.It Ic L .It Ic L
Lock terminal Lock terminal
.It Ic N .It Ic ^N
Take note Take note
.It Ic ^P .It Ic ^P
Show command prompt Show command prompt

View File

@ -2305,11 +2305,11 @@ static bool show_help(char *path)
"ce Edit in EDITOR p Open in PAGER\n" "ce Edit in EDITOR p Open in PAGER\n"
"1ORDER TOGGLES\n" "1ORDER TOGGLES\n"
"b^J Disk usage S Apparent du\n" "b^J Disk usage S Apparent du\n"
"ct Modification time s Size\n" "ct Time modified s Size\n"
"1MISC\n" "1MISC\n"
"9! ^] Spawn SHELL C Execute entry\n" "9! ^] Spawn SHELL C Execute entry\n"
"9R ^V Run/choose script L Lock terminal\n" "9R ^V Run/pick script L Lock terminal\n"
"b^P Command prompt N ^N Take note\n"}; "b^P Command prompt ^N Take note\n"};
if (fd == -1) if (fd == -1)
return FALSE; return FALSE;

View File

@ -226,7 +226,6 @@ static struct key bindings[] = {
{ 'e', SEL_RUNEDIT }, { 'e', SEL_RUNEDIT },
{ 'p', SEL_RUNPAGE }, { 'p', SEL_RUNPAGE },
/* Open notes file */ /* Open notes file */
{ 'N', SEL_NOTE },
{ CONTROL('N'), SEL_NOTE }, { CONTROL('N'), SEL_NOTE },
/* Lock screen */ /* Lock screen */
{ 'L', SEL_LOCK }, { 'L', SEL_LOCK },