mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 20:01:27 +00:00
Update help
This commit is contained in:
parent
8b0fa2be44
commit
b3f7575ef0
54
README.md
54
README.md
|
@ -215,37 +215,37 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
|
||||||
|
|
||||||
```
|
```
|
||||||
NAVIGATION
|
NAVIGATION
|
||||||
↑ k Up PgUp ^U Scroll up
|
↑ k Up PgUp ^U Scroll up
|
||||||
↓ j Down PgDn ^D Scroll down
|
↓ j Down PgDn ^D Scroll down
|
||||||
← h Parent dir ~ Go HOME
|
← h Parent dir ~ Go HOME
|
||||||
↵ → l Open file/dir & Start dir
|
↵ → l Open file/dir & Start dir
|
||||||
Home g ^A First entry - Last visited dir
|
Home g ^A First entry - Last visited dir
|
||||||
End G ^E Last entry . Toggle show hidden
|
End G ^E Last entry . Toggle show hidden
|
||||||
/ Filter Ins ^T Toggle nav-as-you-type
|
/ Filter Ins ^T Toggle nav-as-you-type
|
||||||
b Pin current dir ^B Go to pinned dir
|
b Pin current dir ^B Go to pinned dir
|
||||||
Tab ^I Next context d Toggle detail view
|
Tab ^I Next context d Toggle detail view
|
||||||
` ^/ Leader key N LeadN Go to/create context N
|
` ^/ Leader key N LeadN Go to/create context N
|
||||||
Esc Exit prompt ^L Redraw/clear prompt
|
Esc Exit prompt ^L Redraw/clear prompt
|
||||||
^G Quit and cd q Quit context
|
^G Quit and cd q Quit context
|
||||||
Q ^Q Quit ? Help, config
|
Q ^Q Quit ? Help, config
|
||||||
FILES
|
FILES
|
||||||
^O Open with... n Create new/link
|
^O Open with... n Create new/link
|
||||||
D File details ^R Rename entry
|
D File details ^R Rename entry
|
||||||
⎵ ^K Copy entry path r Open dir in vidir
|
⎵ ^K Copy entry path r Open dir in vidir
|
||||||
^Y Toggle selection y List selection
|
^Y Toggle selection y List selection
|
||||||
Y Select all
|
Y Select all
|
||||||
P Copy selection X Delete selection
|
P Copy selection X Delete selection
|
||||||
V Move selection ^X Delete entry
|
V Move selection ^X Delete entry
|
||||||
f Archive files F List archive
|
f Archive files m M Brief/full media info
|
||||||
^F Extract archive m M Brief/full media info
|
^F Extract archive F List archive
|
||||||
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 Time modified s Size
|
t Time modified s Size
|
||||||
MISC
|
MISC
|
||||||
! ^] Spawn SHELL C Execute entry
|
! ^] Spawn SHELL C Execute entry
|
||||||
R ^V Run/pick script L Lock terminal
|
R ^V Run/pick script L Lock terminal
|
||||||
^P Command prompt ^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.
|
||||||
|
|
54
src/nnn.c
54
src/nnn.c
|
@ -2279,37 +2279,37 @@ static bool show_help(char *path)
|
||||||
static char helpstr[] = {
|
static char helpstr[] = {
|
||||||
"0\n"
|
"0\n"
|
||||||
"1NAVIGATION\n"
|
"1NAVIGATION\n"
|
||||||
"a↑ k Up PgUp ^U Scroll up\n"
|
"a↑ k Up PgUp ^U Scroll up\n"
|
||||||
"a↓ j Down PgDn ^D Scroll down\n"
|
"a↓ j Down PgDn ^D Scroll down\n"
|
||||||
"a← h Parent dir ~ Go HOME\n"
|
"a← h Parent dir ~ Go HOME\n"
|
||||||
"8↵ → l Open file/dir & Start dir\n"
|
"8↵ → l Open file/dir & Start dir\n"
|
||||||
"4Home g ^A First entry - Last visited dir\n"
|
"4Home g ^A First entry - Last visited dir\n"
|
||||||
"5End G ^E Last entry . Toggle show hidden\n"
|
"5End G ^E Last entry . Toggle show hidden\n"
|
||||||
"c/ Filter Ins ^T Toggle nav-as-you-type\n"
|
"c/ Filter Ins ^T Toggle nav-as-you-type\n"
|
||||||
"cb Pin current dir ^B Go to pinned dir\n"
|
"cb Pin current dir ^B Go to pinned dir\n"
|
||||||
"7Tab ^I Next context d Toggle detail view\n"
|
"7Tab ^I Next context d Toggle detail view\n"
|
||||||
"9` ^/ Leader key N LeadN Go to/create context N\n"
|
"9` ^/ Leader key N LeadN Go to/create context N\n"
|
||||||
"aEsc Exit prompt ^L Redraw/clear prompt\n"
|
"aEsc Exit prompt ^L Redraw/clear prompt\n"
|
||||||
"b^G Quit and cd q Quit context\n"
|
"b^G Quit and cd q Quit context\n"
|
||||||
"9Q ^Q Quit ? Help, config\n"
|
"9Q ^Q Quit ? Help, config\n"
|
||||||
"1FILES\n"
|
"1FILES\n"
|
||||||
"b^O Open with... n Create new/link\n"
|
"b^O Open with... n Create new/link\n"
|
||||||
"cD File details ^R Rename entry\n"
|
"cD File details ^R Rename entry\n"
|
||||||
"9⎵ ^K Copy entry path r Open dir in vidir\n"
|
"9⎵ ^K Copy entry path r Open dir in vidir\n"
|
||||||
"b^Y Toggle selection y List selection\n"
|
"b^Y Toggle selection y List selection\n"
|
||||||
"cY Select all\n"
|
"cY Select all\n"
|
||||||
"cP Copy selection X Delete selection\n"
|
"cP Copy selection X Delete selection\n"
|
||||||
"cV Move selection ^X Delete entry\n"
|
"cV Move selection ^X Delete entry\n"
|
||||||
"cf Archive files F List archive\n"
|
"cf Archive files m M Brief/full media info\n"
|
||||||
"b^F Extract archive m M Brief/full media info\n"
|
"b^F Extract archive F List archive\n"
|
||||||
"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 Time modified 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/pick script L Lock terminal\n"
|
"9R ^V Run/pick script L Lock terminal\n"
|
||||||
"b^P Command prompt ^N Take note\n"};
|
"b^P Command prompt ^N Take note\n"};
|
||||||
|
|
||||||
if (fd == -1)
|
if (fd == -1)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue