|
|
@@ -1946,55 +1946,55 @@ show_help(char *path) |
|
|
|
int i = 0, fd = mkstemp(g_homepath); |
|
|
|
char *start, *end; |
|
|
|
static char helpstr[] = { |
|
|
|
"cKey | Function\n" |
|
|
|
"e- + -\n" |
|
|
|
"7↑, k, ^P | Prev entry\n" |
|
|
|
"7↓, j, ^N | Next entry\n" |
|
|
|
"7PgUp, ^U | Scroll half page up\n" |
|
|
|
"7PgDn, ^D | Scroll half page down\n" |
|
|
|
"1Home, g, ^, ^A | First entry\n" |
|
|
|
"2End, G, $, ^E | Last entry\n" |
|
|
|
"4→, ↵, l, ^M | Open file/enter dir\n" |
|
|
|
"1←, Bksp, h, ^H | Parent dir\n" |
|
|
|
"d^O | Open with...\n" |
|
|
|
"5Insert, ^I | Toggle nav-as-you-type\n" |
|
|
|
"e~ | Go HOME\n" |
|
|
|
"e& | Start-up dir\n" |
|
|
|
"e- | Last visited dir\n" |
|
|
|
"e/ | Filter entries\n" |
|
|
|
"d^/ | Open desktop search app\n" |
|
|
|
"e. | Toggle show . files\n" |
|
|
|
"d^B | Bookmark prompt\n" |
|
|
|
"eb | Pin current dir\n" |
|
|
|
"d^V | Go to pinned dir\n" |
|
|
|
"ec | Change dir prompt\n" |
|
|
|
"ed | Toggle detail view\n" |
|
|
|
"eD | File details\n" |
|
|
|
"em | Brief media info\n" |
|
|
|
"eM | Full media info\n" |
|
|
|
"en | Create new\n" |
|
|
|
"d^R | Rename entry\n" |
|
|
|
"er | Open dir in vidir\n" |
|
|
|
"es | Toggle sort by size\n" |
|
|
|
"eS | Toggle apparent size\n" |
|
|
|
"d^J | Toggle du mode\n" |
|
|
|
"et | Toggle sort by mtime\n" |
|
|
|
"a!, ^] | Spawn SHELL in dir\n" |
|
|
|
"eR | Run custom script\n" |
|
|
|
"ee | Edit entry in EDITOR\n" |
|
|
|
"eo | Open DE filemanager\n" |
|
|
|
"ep | Open entry in PAGER\n" |
|
|
|
"ef | Archive entry\n" |
|
|
|
"eF | List archive\n" |
|
|
|
"d^F | Extract archive\n" |
|
|
|
"6Space, ^K | Copy file path\n" |
|
|
|
"d^Y | Toggle multi-copy\n" |
|
|
|
"d^T | Toggle path quote\n" |
|
|
|
"d^L | Redraw, clear prompt\n" |
|
|
|
"eL | Lock terminal\n" |
|
|
|
"e? | Help, settings\n" |
|
|
|
"aQ, ^G | Quit and cd\n" |
|
|
|
"aq, ^X | Quit\n\n"}; |
|
|
|
"cKey Desc\n" |
|
|
|
"e----\n" |
|
|
|
"7↑, k, ^P Prev entry\n" |
|
|
|
"7↓, j, ^N Next entry\n" |
|
|
|
"7PgUp, ^U Scroll half page up\n" |
|
|
|
"7PgDn, ^D Scroll half page down\n" |
|
|
|
"1Home, g, ^, ^A First entry\n" |
|
|
|
"2End, G, $, ^E Last entry\n" |
|
|
|
"4→, ↵, l, ^M Open file/enter dir\n" |
|
|
|
"1←, Bksp, h, ^H Parent dir\n" |
|
|
|
"d^O Open with...\n" |
|
|
|
"5Insert, ^I Toggle nav-as-you-type\n" |
|
|
|
"e~ Go HOME\n" |
|
|
|
"e& Start-up dir\n" |
|
|
|
"e- Last visited dir\n" |
|
|
|
"e/ Filter entries\n" |
|
|
|
"d^/ Open desktop search app\n" |
|
|
|
"e. Toggle show . files\n" |
|
|
|
"d^B Bookmark prompt\n" |
|
|
|
"eb Pin current dir\n" |
|
|
|
"d^V Go to pinned dir\n" |
|
|
|
"ec Change dir prompt\n" |
|
|
|
"ed Toggle detail view\n" |
|
|
|
"eD File details\n" |
|
|
|
"em Brief media info\n" |
|
|
|
"eM Full media info\n" |
|
|
|
"en Create new\n" |
|
|
|
"d^R Rename entry\n" |
|
|
|
"er Open dir in vidir\n" |
|
|
|
"es Toggle sort by size\n" |
|
|
|
"eS Toggle apparent size\n" |
|
|
|
"d^J Toggle du mode\n" |
|
|
|
"et Toggle sort by mtime\n" |
|
|
|
"a!, ^] Spawn SHELL in dir\n" |
|
|
|
"eR Run custom script\n" |
|
|
|
"ee Edit entry in EDITOR\n" |
|
|
|
"eo Open DE filemanager\n" |
|
|
|
"ep Open entry in PAGER\n" |
|
|
|
"ef Archive entry\n" |
|
|
|
"eF List archive\n" |
|
|
|
"d^F Extract archive\n" |
|
|
|
"6Space, ^K Copy file path\n" |
|
|
|
"d^Y Toggle multi-copy\n" |
|
|
|
"d^T Toggle path quote\n" |
|
|
|
"d^L Redraw, clear prompt\n" |
|
|
|
"eL Lock terminal\n" |
|
|
|
"e? Help, settings\n" |
|
|
|
"aQ, ^G Quit and cd\n" |
|
|
|
"aq, ^X Quit\n\n"}; |
|
|
|
|
|
|
|
if (fd == -1) |
|
|
|
return -1; |
|
|
|