mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
More concise help
This commit is contained in:
parent
81318f9218
commit
cad067a211
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 entry F List archive
|
f Archive entry F List archive
|
||||||
^F Extract archive m, M Brief/full media info
|
^F Extract archive m M Brief/full media info
|
||||||
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 Modification time s Size
|
||||||
MISC
|
MISC
|
||||||
!, ^] Spawn SHELL in dir C Execute entry
|
! ^] Spawn SHELL C Execute entry
|
||||||
R, ^V Run custom script L Lock terminal
|
R ^V Run/choose script L Lock terminal
|
||||||
^P Command prompt N, ^N Take note
|
^P Command prompt 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.
|
||||||
|
|
56
src/nnn.c
56
src/nnn.c
|
@ -2256,37 +2256,37 @@ static bool show_help(char *path)
|
||||||
static char helpstr[] = {
|
static char helpstr[] = {
|
||||||
"0\n"
|
"0\n"
|
||||||
"1NAVIGATION\n"
|
"1NAVIGATION\n"
|
||||||
"9↑, k Up PgUp, ^U Scroll up\n"
|
"a↑ k Up PgUp ^U Scroll up\n"
|
||||||
"9↓, j Down PgDn, ^D Scroll down\n"
|
"a↓ j Down PgDn ^D Scroll down\n"
|
||||||
"9←, h Parent dir ~ Go HOME\n"
|
"a← h Parent dir ~ Go HOME\n"
|
||||||
"6↵, →, l Open file/dir & Start dir\n"
|
"8↵ → l Open file/dir & Start dir\n"
|
||||||
"2Home, g, ^A First entry - Last visited dir\n"
|
"4Home g ^A First entry - Last visited dir\n"
|
||||||
"3End, 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"
|
||||||
"6Tab, ^I Next context d Toggle detail view\n"
|
"7Tab ^I Next context d Toggle detail view\n"
|
||||||
"8`, ^/ 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"
|
||||||
"8Q, ^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"
|
||||||
"8⎵, ^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 entry F List archive\n"
|
"cf Archive entry F List archive\n"
|
||||||
"b^F Extract archive m, M Brief/full media info\n"
|
"b^F Extract archive m M Brief/full media info\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 Modification time s Size\n"
|
"ct Modification time s Size\n"
|
||||||
"1MISC\n"
|
"1MISC\n"
|
||||||
"8!, ^] Spawn SHELL in dir C Execute entry\n"
|
"9! ^] Spawn SHELL C Execute entry\n"
|
||||||
"8R, ^V Run custom script L Lock terminal\n"
|
"9R ^V Run/choose script L Lock terminal\n"
|
||||||
"b^P Command prompt N, ^N Take note\n"};
|
"b^P Command prompt N ^N Take note\n"};
|
||||||
|
|
||||||
if (fd == -1)
|
if (fd == -1)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue