mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Reformat program help
This commit is contained in:
parent
aa9c7bac23
commit
cba1aec8d4
54
README.md
54
README.md
|
@ -220,35 +220,35 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
|
|||
|
||||
```
|
||||
NAVIGATION
|
||||
↑, k, ^P Up PgUp, ^U Scroll up
|
||||
↓, j, ^N Down PgDn, ^D Scroll down
|
||||
Home, g, ^, ^A First entry ~ Go HOME
|
||||
End, G, $, ^E Last entry & Start dir
|
||||
←, Bksp, h, ^H Parent dir - Last visited dir
|
||||
→, ↵, l, ^M Open file/enter dir . Toggle show hidden
|
||||
/ Filter Ins, ^T Toggle nav-as-you-type
|
||||
b Pin current dir ^W Go to pinned dir
|
||||
Tab, ^I Next context d Toggle detail view
|
||||
`, ^/ Leader key LeaderN 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, ^P Up PgUp, ^U Scroll up
|
||||
↓, j, ^N Down PgDn, ^D Scroll down
|
||||
Home, g, ^, ^A First entry ~ Go HOME
|
||||
End, G, $, ^E Last entry & Start dir
|
||||
←, Bksp, h, ^H Parent dir - Last visited dir
|
||||
→, ↵, l, ^M Open file/dir . Toggle show hidden
|
||||
/ Filter Ins, ^T Toggle nav-as-you-type
|
||||
b Pin current dir ^W Go to pinned dir
|
||||
Tab, ^I Next context d Toggle detail view
|
||||
`, ^/ Leader key LeaderN 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
|
||||
D File details ^R Rename entry
|
||||
⎵, ^K Copy entry path r Open dir in vidir
|
||||
Y, ^Y Toggle selection y List selection
|
||||
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
|
||||
^J Disk usage S Apparent du
|
||||
s Size t Modification time
|
||||
^O Open with... n Create new
|
||||
D File details ^R Rename entry
|
||||
⎵, ^K Copy entry path r Open dir in vidir
|
||||
Y, ^Y Toggle selection y List selection
|
||||
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
|
||||
MISC
|
||||
!, ^] Spawn SHELL in dir o Launch app
|
||||
R Run custom script ^S Execute entry
|
||||
!, ^] Spawn SHELL in dir o Launch app
|
||||
R Run custom script ^S Execute entry
|
||||
L Lock terminal
|
||||
```
|
||||
|
||||
|
|
6
nnn.1
6
nnn.1
|
@ -127,17 +127,17 @@ Open entry in EDITOR (fallback vi)
|
|||
Open entry in PAGER (fallback less)
|
||||
.El
|
||||
.Pp
|
||||
ORDER
|
||||
ORDER TOGGLES
|
||||
.Pp
|
||||
.Bl -tag -width "l, [Right], [Return] or C-mXXXX" -offset indent -compact
|
||||
.It Ic ^J
|
||||
Toggle disk usage analyzer mode
|
||||
.It Ic S
|
||||
Toggle sort by apparent size
|
||||
.It Ic s
|
||||
Toggle sort by file size
|
||||
.It Ic t
|
||||
Toggle sort by time modified
|
||||
.It Ic s
|
||||
Toggle sort by file size
|
||||
.El
|
||||
.Pp
|
||||
MISC
|
||||
|
|
54
src/nnn.c
54
src/nnn.c
|
@ -2032,35 +2032,35 @@ static bool show_help(char *path)
|
|||
static char helpstr[] = {
|
||||
"0\n"
|
||||
"1NAVIGATION\n"
|
||||
"7↑, k, ^P Up PgUp, ^U Scroll up\n"
|
||||
"7↓, j, ^N Down PgDn, ^D Scroll down\n"
|
||||
"1Home, g, ^, ^A First entry ~ Go HOME\n"
|
||||
"2End, G, $, ^E Last entry & Start dir\n"
|
||||
"1←, Bksp, h, ^H Parent dir - Last visited dir\n"
|
||||
"4→, ↵, l, ^M Open file/enter dir . Toggle show hidden\n"
|
||||
"e/ Filter Ins, ^T Toggle nav-as-you-type\n"
|
||||
"eb Pin current dir ^W Go to pinned dir\n"
|
||||
"8Tab, ^I Next context d Toggle detail view\n"
|
||||
"a`, ^/ Leader key LeaderN Go to/create context N\n"
|
||||
"cEsc Exit prompt ^L Redraw, clear prompt\n"
|
||||
"d^G Quit and cd q Quit context\n"
|
||||
"aQ, ^Q Quit ? Help, config\n"
|
||||
"7↑, k, ^P Up PgUp, ^U Scroll up\n"
|
||||
"7↓, j, ^N Down PgDn, ^D Scroll down\n"
|
||||
"1Home, g, ^, ^A First entry ~ Go HOME\n"
|
||||
"2End, G, $, ^E Last entry & Start dir\n"
|
||||
"1←, Bksp, h, ^H Parent dir - Last visited dir\n"
|
||||
"4→, ↵, l, ^M Open file/dir . Toggle show hidden\n"
|
||||
"e/ Filter Ins, ^T Toggle nav-as-you-type\n"
|
||||
"eb Pin current dir ^W Go to pinned dir\n"
|
||||
"8Tab, ^I Next context d Toggle detail view\n"
|
||||
"a`, ^/ Leader key LeaderN Go to/create context N\n"
|
||||
"cEsc Exit prompt ^L Redraw/clear prompt\n"
|
||||
"d^G Quit and cd q Quit context\n"
|
||||
"aQ, ^Q Quit ? Help, config\n"
|
||||
"1FILES\n"
|
||||
"d^O Open with... n Create new\n"
|
||||
"eD File details ^R Rename entry\n"
|
||||
"a⎵, ^K Copy entry path r Open dir in vidir\n"
|
||||
"aY, ^Y Toggle selection y List selection\n"
|
||||
"eP Copy selection X Delete selection\n"
|
||||
"eV Move selection ^X Delete entry\n"
|
||||
"ef Archive entry F List archive\n"
|
||||
"d^F Extract archive m, M Brief/full media info\n"
|
||||
"ee Edit in EDITOR p Open in PAGER\n"
|
||||
"1ORDER\n"
|
||||
"d^J Disk usage S Apparent du\n"
|
||||
"es Size t Modification time\n"
|
||||
"d^O Open with... n Create new\n"
|
||||
"eD File details ^R Rename entry\n"
|
||||
"a⎵, ^K Copy entry path r Open dir in vidir\n"
|
||||
"aY, ^Y Toggle selection y List selection\n"
|
||||
"eP Copy selection X Delete selection\n"
|
||||
"eV Move selection ^X Delete entry\n"
|
||||
"ef Archive entry F List archive\n"
|
||||
"d^F Extract archive m, M Brief/full media info\n"
|
||||
"ee Edit in EDITOR p Open in PAGER\n"
|
||||
"1ORDER TOGGLES\n"
|
||||
"d^J Disk usage S Apparent du\n"
|
||||
"et Modification time s Size\n"
|
||||
"1MISC\n"
|
||||
"a!, ^] Spawn SHELL in dir o Launch app\n"
|
||||
"eR Run custom script ^S Execute entry\n"
|
||||
"a!, ^] Spawn SHELL in dir o Launch app\n"
|
||||
"eR Run custom script ^S Execute entry\n"
|
||||
"eL Lock terminal\n"};
|
||||
|
||||
if (fd == -1)
|
||||
|
|
Loading…
Reference in a new issue