mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +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
|
||||
↑, k Up PgUp, ^U Scroll up
|
||||
↓, j Down PgDn, ^D Scroll down
|
||||
←, h Parent dir ~ Go HOME
|
||||
↵, →, l Open file/dir & Start dir
|
||||
Home, g, ^A First entry - Last visited dir
|
||||
End, G, ^E Last entry . Toggle show hidden
|
||||
/ Filter Ins, ^T Toggle nav-as-you-type
|
||||
b Pin current dir ^B Go to pinned dir
|
||||
Tab, ^I Next context d Toggle detail view
|
||||
`, ^/ Leader key N, LeadN Go to/create context N
|
||||
Esc Exit prompt ^L Redraw/clear prompt
|
||||
^G Quit and cd q Quit context
|
||||
Q, ^Q Quit ? Help, config
|
||||
↑ k Up PgUp ^U Scroll up
|
||||
↓ j Down PgDn ^D Scroll down
|
||||
← h Parent dir ~ Go HOME
|
||||
↵ → l Open file/dir & Start dir
|
||||
Home g ^A First entry - Last visited dir
|
||||
End G ^E Last entry . Toggle show hidden
|
||||
/ Filter Ins ^T Toggle nav-as-you-type
|
||||
b Pin current dir ^B Go to pinned dir
|
||||
Tab ^I Next context d Toggle detail view
|
||||
` ^/ Leader key N LeadN Go to/create context N
|
||||
Esc Exit prompt ^L Redraw/clear prompt
|
||||
^G Quit and cd q Quit context
|
||||
Q ^Q Quit ? Help, config
|
||||
FILES
|
||||
^O Open with... n Create new/link
|
||||
D File details ^R Rename entry
|
||||
⎵, ^K Copy entry path r Open dir in vidir
|
||||
^Y Toggle selection y List selection
|
||||
^O Open with... n Create new/link
|
||||
D File details ^R Rename entry
|
||||
⎵ ^K Copy entry path r Open dir in vidir
|
||||
^Y Toggle selection y List selection
|
||||
Y Select all
|
||||
P Copy selection X Delete selection
|
||||
V Move selection ^X Delete entry
|
||||
f Archive entry F List archive
|
||||
^F Extract archive m, M Brief/full media info
|
||||
e Edit in EDITOR p Open in PAGER
|
||||
P Copy selection X Delete selection
|
||||
V Move selection ^X Delete entry
|
||||
f Archive entry F List archive
|
||||
^F Extract archive m M Brief/full media info
|
||||
e Edit in EDITOR p Open in PAGER
|
||||
ORDER TOGGLES
|
||||
^J Disk usage S Apparent du
|
||||
t Modification time s Size
|
||||
^J Disk usage S Apparent du
|
||||
t Modification time s Size
|
||||
MISC
|
||||
!, ^] Spawn SHELL in dir C Execute entry
|
||||
R, ^V Run custom script L Lock terminal
|
||||
^P Command prompt N, ^N Take note
|
||||
! ^] Spawn SHELL C Execute entry
|
||||
R ^V Run/choose script L Lock terminal
|
||||
^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.
|
||||
|
|
56
src/nnn.c
56
src/nnn.c
|
@ -2256,37 +2256,37 @@ static bool show_help(char *path)
|
|||
static char helpstr[] = {
|
||||
"0\n"
|
||||
"1NAVIGATION\n"
|
||||
"9↑, k Up PgUp, ^U Scroll up\n"
|
||||
"9↓, j Down PgDn, ^D Scroll down\n"
|
||||
"9←, h Parent dir ~ Go HOME\n"
|
||||
"6↵, →, l Open file/dir & Start dir\n"
|
||||
"2Home, g, ^A First entry - Last visited dir\n"
|
||||
"3End, G, ^E Last entry . Toggle show hidden\n"
|
||||
"c/ Filter Ins, ^T Toggle nav-as-you-type\n"
|
||||
"cb Pin current dir ^B Go to pinned dir\n"
|
||||
"6Tab, ^I Next context d Toggle detail view\n"
|
||||
"8`, ^/ Leader key N, LeadN Go to/create context N\n"
|
||||
"aEsc Exit prompt ^L Redraw/clear prompt\n"
|
||||
"b^G Quit and cd q Quit context\n"
|
||||
"8Q, ^Q Quit ? Help, config\n"
|
||||
"a↑ k Up PgUp ^U Scroll up\n"
|
||||
"a↓ j Down PgDn ^D Scroll down\n"
|
||||
"a← h Parent dir ~ Go HOME\n"
|
||||
"8↵ → l Open file/dir & Start dir\n"
|
||||
"4Home g ^A First entry - Last visited dir\n"
|
||||
"5End G ^E Last entry . Toggle show hidden\n"
|
||||
"c/ Filter Ins ^T Toggle nav-as-you-type\n"
|
||||
"cb Pin current dir ^B Go to pinned dir\n"
|
||||
"7Tab ^I Next context d Toggle detail view\n"
|
||||
"9` ^/ Leader key N LeadN Go to/create context N\n"
|
||||
"aEsc Exit prompt ^L Redraw/clear prompt\n"
|
||||
"b^G Quit and cd q Quit context\n"
|
||||
"9Q ^Q Quit ? Help, config\n"
|
||||
"1FILES\n"
|
||||
"b^O Open with... n Create new/link\n"
|
||||
"cD File details ^R Rename entry\n"
|
||||
"8⎵, ^K Copy entry path r Open dir in vidir\n"
|
||||
"b^Y Toggle selection y List selection\n"
|
||||
"cY Select all\n"
|
||||
"cP Copy selection X Delete selection\n"
|
||||
"cV Move selection ^X Delete entry\n"
|
||||
"cf Archive entry F List archive\n"
|
||||
"b^F Extract archive m, M Brief/full media info\n"
|
||||
"ce Edit in EDITOR p Open in PAGER\n"
|
||||
"b^O Open with... n Create new/link\n"
|
||||
"cD File details ^R Rename entry\n"
|
||||
"9⎵ ^K Copy entry path r Open dir in vidir\n"
|
||||
"b^Y Toggle selection y List selection\n"
|
||||
"cY Select all\n"
|
||||
"cP Copy selection X Delete selection\n"
|
||||
"cV Move selection ^X Delete entry\n"
|
||||
"cf Archive entry F List archive\n"
|
||||
"b^F Extract archive m M Brief/full media info\n"
|
||||
"ce Edit in EDITOR p Open in PAGER\n"
|
||||
"1ORDER TOGGLES\n"
|
||||
"b^J Disk usage S Apparent du\n"
|
||||
"ct Modification time s Size\n"
|
||||
"b^J Disk usage S Apparent du\n"
|
||||
"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^P Command prompt N, ^N Take note\n"};
|
||||
"9! ^] Spawn SHELL C Execute entry\n"
|
||||
"9R ^V Run/choose script L Lock terminal\n"
|
||||
"b^P Command prompt N ^N Take note\n"};
|
||||
|
||||
if (fd == -1)
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue