@@ -85,7 +85,7 @@ Have fun with it! PRs are welcome. Check out [#1](https://github.com/jarun/nnn/i | |||
- Numeric order (1, 2, ... 10, 11, ...) for numeric names | |||
- Sort by modification time, size | |||
- Convenience | |||
- Spawn a shell in the current directory | |||
- Spawn SHELL (fallback sh) in the current directory | |||
- Invoke file path copier (*easy* shell integration) | |||
- Change directory at exit (*easy* shell integration) | |||
- Open any file in EDITOR (fallback vi) or PAGER (fallback less) | |||
@@ -157,41 +157,41 @@ Have fun with it! PRs are welcome. Check out [#1](https://github.com/jarun/nnn/i | |||
#### Keyboard shortcuts | |||
``` | |||
Key | Function | |||
-+- | |||
↑, k, ^P | Previous entry | |||
↓, j, ^N | Next entry | |||
PgUp, ^U | Scroll half page up | |||
PgDn, ^D | Scroll half page down | |||
Home, g, ^, ^A | Jump to first entry | |||
End, G, $, ^E | Jump to last entry | |||
→, ↵, l, ^M | Open file or enter dir | |||
←, Bksp, h, ^H | Go to parent dir | |||
Insert | Toggle navigate-as-you-type mode | |||
~ | Jump to HOME dir | |||
& | Jump to initial dir | |||
- | Jump to last visited dir | |||
/ | Filter dir contents | |||
^/ | Search dir in desktop search tool | |||
. | Toggle hide .dot files | |||
b | Show bookmark key prompt | |||
c | Show change dir prompt | |||
d | Toggle detail view | |||
D | Toggle current file details screen | |||
m | Show concise media info | |||
M | Show full media info | |||
s | Toggle sort by file size | |||
S | Toggle disk usage analyzer mode | |||
t | Toggle sort by modified time | |||
! | Spawn SHELL in PWD (fallback sh) | |||
e | Edit entry in EDITOR (fallback vi) | |||
o | Open dir in NNN_DE_FILE_MANAGER | |||
p | Open entry in PAGER (fallback less) | |||
^K | Invoke file path copier | |||
^L, F2 | Force a redraw, unfilter | |||
? | Toggle help and settings screen | |||
Q | Quit and change directory | |||
q, ^Q | Quit | |||
Key | Function | |||
-+- | |||
↑, k, ^P | Previous entry | |||
↓, j, ^N | Next entry | |||
PgUp, ^U | Scroll half page up | |||
PgDn, ^D | Scroll half page down | |||
Home, g, ^, ^A | Jump to first entry | |||
End, G, $, ^E | Jump to last entry | |||
→, ↵, l, ^M | Open file or enter dir | |||
←, Bksp, h, ^H | Go to parent dir | |||
Insert | Toggle navigate-as-you-type | |||
~ | Jump to HOME dir | |||
& | Jump to initial dir | |||
- | Jump to last visited dir | |||
/ | Filter dir contents | |||
^/ | Open desktop search tool | |||
. | Toggle hide .dot files | |||
b | Show bookmark key prompt | |||
c | Show change dir prompt | |||
d | Toggle detail view | |||
D | Show current file details | |||
m | Show concise media info | |||
M | Show full media info | |||
s | Toggle sort by file size | |||
S | Toggle disk usage mode | |||
t | Toggle sort by mtime | |||
! | Spawn SHELL in current dir | |||
e | Edit entry in EDITOR | |||
o | Open dir in file manager | |||
p | Open entry in PAGER | |||
^K | Invoke file path copier | |||
^L, F2 | Force a redraw, unfilter | |||
? | Show help, settings | |||
Q | Quit and change dir | |||
q, ^Q | Quit | |||
``` | |||
#### Filters | |||
@@ -1453,41 +1453,41 @@ show_help(void) | |||
{ | |||
char tmp[] = "/tmp/nnnXXXXXX"; | |||
static char helpstr[] = ("\ | |||
Key | Function\n\ | |||
-+-\n\ | |||
↑, k, ^P | Previous entry\n\ | |||
↓, j, ^N | Next entry\n\ | |||
PgUp, ^U | Scroll half page up\n\ | |||
PgDn, ^D | Scroll half page down\n\ | |||
Home, g, ^, ^A | Jump to first entry\n\ | |||
End, G, $, ^E | Jump to last entry\n\ | |||
→, ↵, l, ^M | Open file or enter dir\n\ | |||
←, Bksp, h, ^H | Go to parent dir\n\ | |||
Insert | Toggle navigate-as-you-type mode\n\ | |||
~ | Jump to HOME dir\n\ | |||
& | Jump to initial dir\n\ | |||
- | Jump to last visited dir\n\ | |||
/ | Filter dir contents\n\ | |||
^/ | Search dir in desktop search tool\n\ | |||
. | Toggle hide .dot files\n\ | |||
b | Show bookmark key prompt\n\ | |||
c | Show change dir prompt\n\ | |||
d | Toggle detail view\n\ | |||
D | Show current file details screen\n\ | |||
m | Show concise media info\n\ | |||
M | Show full media info\n\ | |||
s | Toggle sort by file size\n\ | |||
S | Toggle disk usage analyzer mode\n\ | |||
t | Toggle sort by modified time\n\ | |||
! | Spawn SHELL in PWD (fallback sh)\n\ | |||
e | Edit entry in EDITOR (fallback vi)\n\ | |||
o | Open dir in NNN_DE_FILE_MANAGER\n\ | |||
p | Open entry in PAGER (fallback less)\n\ | |||
^K | Invoke file path copier\n\ | |||
^L, F2 | Force a redraw, unfilter\n\ | |||
? | Toggle help and settings screen\n\ | |||
Q | Quit and change directory\n\ | |||
q, ^Q | Quit\n\n\n"); | |||
Key | Function\n\ | |||
-+-\n\ | |||
↑, k, ^P | Previous entry\n\ | |||
↓, j, ^N | Next entry\n\ | |||
PgUp, ^U | Scroll half page up\n\ | |||
PgDn, ^D | Scroll half page down\n\ | |||
Home, g, ^, ^A | Jump to first entry\n\ | |||
End, G, $, ^E | Jump to last entry\n\ | |||
→, ↵, l, ^M | Open file or enter dir\n\ | |||
←, Bksp, h, ^H | Go to parent dir\n\ | |||
Insert | Toggle navigate-as-you-type\n\ | |||
~ | Jump to HOME dir\n\ | |||
& | Jump to initial dir\n\ | |||
- | Jump to last visited dir\n\ | |||
/ | Filter dir contents\n\ | |||
^/ | Open desktop search tool\n\ | |||
. | Toggle hide .dot files\n\ | |||
b | Show bookmark key prompt\n\ | |||
c | Show change dir prompt\n\ | |||
d | Toggle detail view\n\ | |||
D | Show current file details\n\ | |||
m | Show concise media info\n\ | |||
M | Show full media info\n\ | |||
s | Toggle sort by file size\n\ | |||
S | Toggle disk usage mode\n\ | |||
t | Toggle sort by mtime\n\ | |||
! | Spawn SHELL in current dir\n\ | |||
e | Edit entry in EDITOR\n\ | |||
o | Open dir in file manager\n\ | |||
p | Open entry in PAGER\n\ | |||
^K | Invoke file path copier\n\ | |||
^L, F2 | Force a redraw, unfilter\n\ | |||
? | Show help, settings\n\ | |||
Q | Quit and change dir\n\ | |||
q, ^Q | Quit\n\n"); | |||
int i = 0, fd = mkstemp(tmp); | |||