mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
New key to tkae note ^N
This commit is contained in:
parent
7de98faa74
commit
31849fd5fb
|
@ -242,7 +242,7 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
|
||||||
MISC
|
MISC
|
||||||
!, ^] Spawn SHELL in dir C Execute entry
|
!, ^] Spawn SHELL in dir C Execute entry
|
||||||
R, ^V Run custom script L Lock terminal
|
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.
|
Help & settings, file details, media info and archive listing are shown in the PAGER. Please use the PAGER-specific keys in these screens.
|
||||||
|
|
|
@ -2286,7 +2286,7 @@ static bool show_help(char *path)
|
||||||
"1MISC\n"
|
"1MISC\n"
|
||||||
"8!, ^] Spawn SHELL in dir C Execute entry\n"
|
"8!, ^] Spawn SHELL in dir C Execute entry\n"
|
||||||
"8R, ^V Run custom script L Lock terminal\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)
|
if (fd == -1)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
|
@ -225,6 +225,7 @@ static struct key bindings[] = {
|
||||||
{ 'p', SEL_RUNPAGE },
|
{ 'p', SEL_RUNPAGE },
|
||||||
/* Open notes file */
|
/* Open notes file */
|
||||||
{ 'N', SEL_NOTE },
|
{ 'N', SEL_NOTE },
|
||||||
|
{ CONTROL('N'), SEL_NOTE },
|
||||||
/* Lock screen */
|
/* Lock screen */
|
||||||
{ 'L', SEL_LOCK },
|
{ 'L', SEL_LOCK },
|
||||||
/* Quit a context */
|
/* Quit a context */
|
||||||
|
|
Loading…
Reference in a new issue