Rearrange help

This commit is contained in:
Arun Prakash Jana 2018-10-22 20:41:40 +05:30
parent 9731942946
commit 8090c0d6b4
No known key found for this signature in database
GPG key ID: A75979F35C080412
2 changed files with 24 additions and 26 deletions

View file

@ -208,10 +208,10 @@ optional args:
``` ```
Key Function Key Function
---- ----
↑, k, ^P Prev entry ↑, k, ^P Up
↓, j, ^N Next entry ↓, j, ^N Down
PgUp, ^U Scroll half page up PgUp, ^U Scroll up
PgDn, ^D Scroll half page down PgDn, ^D Scroll down
Home, g, ^, ^A First entry Home, g, ^, ^A First entry
End, G, $, ^E Last entry End, G, $, ^E Last entry
→, ↵, l, ^M Open file/enter dir →, ↵, l, ^M Open file/enter dir
@ -219,19 +219,17 @@ optional args:
^O Open with... ^O Open with...
Insert, ^I Toggle nav-as-you-type Insert, ^I Toggle nav-as-you-type
~ Go HOME ~ Go HOME
& Start-up dir & Start dir
- Last visited dir - Last visited dir
/ Filter entries / Filter entries
^/ Open desktop search app . Toggle show hidden
. Toggle show . files
^B Bookmark prompt ^B Bookmark prompt
b Pin current dir b Pin current dir
^V Go to pinned dir ^V Go to pinned dir
c Change dir prompt c cd prompt
d Toggle detail view d Toggle detail view
D File details D File details
m Brief media info m, M Brief/full media info
M Full media info
n Create new n Create new
^R Rename entry ^R Rename entry
r Open dir in vidir r Open dir in vidir
@ -241,9 +239,8 @@ optional args:
t Toggle sort by mtime t Toggle sort by mtime
!, ^] Spawn SHELL in dir !, ^] Spawn SHELL in dir
R Run custom script R Run custom script
e Edit entry in EDITOR e Edit in EDITOR
o Open DE filemanager p Open in PAGER
p Open entry in PAGER
f Archive entry f Archive entry
F List archive F List archive
^F Extract archive ^F Extract archive
@ -253,6 +250,8 @@ optional args:
^T Toggle path quote ^T Toggle path quote
^L Redraw, clear prompt ^L Redraw, clear prompt
L Lock terminal L Lock terminal
o Open DE filemanager
^/ Open DE search app
? Help, settings ? Help, settings
Q, ^G Quit and cd Q, ^G Quit and cd
q, ^X Quit q, ^X Quit

25
nnn.c
View file

@ -1933,10 +1933,10 @@ static int show_help(char *path)
static char helpstr[] = { static char helpstr[] = {
"cKey Desc\n" "cKey Desc\n"
"e----\n" "e----\n"
"7↑, k, ^P Prev entry\n" "7↑, k, ^P Up\n"
"7↓, j, ^N Next entry\n" "7↓, j, ^N Down\n"
"7PgUp, ^U Scroll half page up\n" "7PgUp, ^U Scroll up\n"
"7PgDn, ^D Scroll half page down\n" "7PgDn, ^D Scroll down\n"
"1Home, g, ^, ^A First entry\n" "1Home, g, ^, ^A First entry\n"
"2End, G, $, ^E Last entry\n" "2End, G, $, ^E Last entry\n"
"4→, ↵, l, ^M Open file/enter dir\n" "4→, ↵, l, ^M Open file/enter dir\n"
@ -1944,19 +1944,17 @@ static int show_help(char *path)
"d^O Open with...\n" "d^O Open with...\n"
"5Insert, ^I Toggle nav-as-you-type\n" "5Insert, ^I Toggle nav-as-you-type\n"
"e~ Go HOME\n" "e~ Go HOME\n"
"e& Start-up dir\n" "e& Start dir\n"
"e- Last visited dir\n" "e- Last visited dir\n"
"e/ Filter entries\n" "e/ Filter entries\n"
"d^/ Open desktop search app\n" "e. Toggle show hidden\n"
"e. Toggle show . files\n"
"d^B Bookmark prompt\n" "d^B Bookmark prompt\n"
"eb Pin current dir\n" "eb Pin current dir\n"
"d^V Go to pinned dir\n" "d^V Go to pinned dir\n"
"ec Change dir prompt\n" "ec cd prompt\n"
"ed Toggle detail view\n" "ed Toggle detail view\n"
"eD File details\n" "eD File details\n"
"em Brief media info\n" "bm, M Brief/full media info\n"
"eM Full media info\n"
"en Create new\n" "en Create new\n"
"d^R Rename entry\n" "d^R Rename entry\n"
"er Open dir in vidir\n" "er Open dir in vidir\n"
@ -1966,9 +1964,8 @@ static int show_help(char *path)
"et Toggle sort by mtime\n" "et Toggle sort by mtime\n"
"a!, ^] Spawn SHELL in dir\n" "a!, ^] Spawn SHELL in dir\n"
"eR Run custom script\n" "eR Run custom script\n"
"ee Edit entry in EDITOR\n" "ee Edit in EDITOR\n"
"eo Open DE filemanager\n" "ep Open in PAGER\n"
"ep Open entry in PAGER\n"
"ef Archive entry\n" "ef Archive entry\n"
"eF List archive\n" "eF List archive\n"
"d^F Extract archive\n" "d^F Extract archive\n"
@ -1978,6 +1975,8 @@ static int show_help(char *path)
"d^T Toggle path quote\n" "d^T Toggle path quote\n"
"d^L Redraw, clear prompt\n" "d^L Redraw, clear prompt\n"
"eL Lock terminal\n" "eL Lock terminal\n"
"eo Open DE filemanager\n"
"d^/ Open DE search app\n"
"e? Help, settings\n" "e? Help, settings\n"
"aQ, ^G Quit and cd\n" "aQ, ^G Quit and cd\n"
"aq, ^X Quit\n\n"}; "aq, ^X Quit\n\n"};