mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
Update help screen
This commit is contained in:
parent
6f856dbe74
commit
2446d7c68c
12
README.md
12
README.md
|
@ -232,8 +232,8 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
|
||||||
, ^/ Lead key N LeadN Context N
|
, ^/ Lead key N LeadN Context N
|
||||||
/ Filter/Lead Ins ^T Toggle nav-as-you-type
|
/ Filter/Lead Ins ^T Toggle nav-as-you-type
|
||||||
Esc Exit prompt ^L F5 Redraw/clear prompt
|
Esc Exit prompt ^L F5 Redraw/clear prompt
|
||||||
q Quit context Lead' First file
|
? Help, config Lead' First file
|
||||||
Q ^Q Quit ^G QuitCD ? Help, config
|
Q ^Q Quit ^G QuitCD q Quit context
|
||||||
FILES
|
FILES
|
||||||
^O Open with... n Create new/link
|
^O Open with... n Create new/link
|
||||||
D File detail ^R F2 Rename/duplicate
|
D File detail ^R F2 Rename/duplicate
|
||||||
|
@ -245,13 +245,13 @@ Press <kbd>?</kbd> in `nnn` to see the list anytime.
|
||||||
^F Extract archive F List archive
|
^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
|
||||||
S du A Apparent du
|
A Apparent du S du
|
||||||
s Size E Extn t Time modified
|
s Size E Extn t Time
|
||||||
MISC
|
MISC
|
||||||
! ^] Shell = Launcher
|
! ^] Shell = Launcher
|
||||||
R ^V Pick plugin :K xK Run plugin key K
|
R ^V Pick plugin :K xK Run plugin key K
|
||||||
c SSHFS mount u Unmount
|
c SSHFS mount u Unmount
|
||||||
^P Prompt/run expr L Lock
|
^P Prompt/run cmd L Lock
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: Help & settings, file details and archive listing are shown in the `$PAGER`.
|
Note: Help & settings, file details and archive listing are shown in the `$PAGER`.
|
||||||
|
@ -275,7 +275,7 @@ The Leader/Lead key provides a powerful multi-functional navigation mechanism. I
|
||||||
| <kbd>[</kbd> | Go to previous active context |
|
| <kbd>[</kbd> | Go to previous active context |
|
||||||
| key | Go to bookmarked location |
|
| key | Go to bookmarked location |
|
||||||
| <kbd>'</kbd> | Go to first file in directory |
|
| <kbd>'</kbd> | Go to first file in directory |
|
||||||
| <kbd>~</kbd> <kbd>`</kbd> <kbd>@</kbd> <kbd>-</kbd> | Go to HOME, `/`, start, last visited dir |
|
| <kbd>~</kbd> <kbd>`</kbd> <kbd>@</kbd> <kbd>-</kbd> | Visit HOME, `/`, start, last visited dir |
|
||||||
| <kbd>.</kbd> | Toggle show hidden files |
|
| <kbd>.</kbd> | Toggle show hidden files |
|
||||||
| <kbd>q</kbd> | Quit context |
|
| <kbd>q</kbd> | Quit context |
|
||||||
|
|
||||||
|
|
10
src/nnn.c
10
src/nnn.c
|
@ -2842,8 +2842,8 @@ static bool show_help(const char *path)
|
||||||
"9, ^/ Lead key N LeadN Context N\n"
|
"9, ^/ Lead key N LeadN Context N\n"
|
||||||
"c/ Filter/Lead Ins ^T Toggle nav-as-you-type\n"
|
"c/ Filter/Lead Ins ^T Toggle nav-as-you-type\n"
|
||||||
"aEsc Exit prompt ^L F5 Redraw/clear prompt\n"
|
"aEsc Exit prompt ^L F5 Redraw/clear prompt\n"
|
||||||
"cq Quit context Lead' First file\n"
|
"c? Help, config Lead' First file\n"
|
||||||
"9Q ^Q Quit ^G QuitCD ? Help, config\n"
|
"9Q ^Q Quit ^G QuitCD q Quit context\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 detail ^R F2 Rename/duplicate\n"
|
"cD File detail ^R F2 Rename/duplicate\n"
|
||||||
|
@ -2855,13 +2855,13 @@ static bool show_help(const char *path)
|
||||||
"b^F Extract archive F List archive\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"
|
||||||
"cS du A Apparent du\n"
|
"cA Apparent du S du\n"
|
||||||
"cs Size E Extn t Time modified\n"
|
"cs Size E Extn t Time\n"
|
||||||
"1MISC\n"
|
"1MISC\n"
|
||||||
"9! ^] Shell = Launcher\n"
|
"9! ^] Shell = Launcher\n"
|
||||||
"9R ^V Pick plugin :K xK Run plugin key K\n"
|
"9R ^V Pick plugin :K xK Run plugin key K\n"
|
||||||
"cc SSHFS mount u Unmount\n"
|
"cc SSHFS mount u Unmount\n"
|
||||||
"b^P Prompt/run expr L Lock\n"};
|
"b^P Prompt/run cmd L Lock\n"};
|
||||||
|
|
||||||
fd = create_tmp_file();
|
fd = create_tmp_file();
|
||||||
if (fd == -1)
|
if (fd == -1)
|
||||||
|
|
Loading…
Reference in a new issue