More concise help screen.

This commit is contained in:
Arun Prakash Jana 2017-07-04 10:01:15 +05:30
parent e585d830cd
commit 342ecdc3ef
No known key found for this signature in database
GPG key ID: A75979F35C080412
2 changed files with 71 additions and 71 deletions

View file

@ -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)
@ -167,30 +167,30 @@ Have fun with it! PRs are welcome. Check out [#1](https://github.com/jarun/nnn/i
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
Insert | Toggle navigate-as-you-type
~ | Jump to HOME dir
& | Jump to initial dir
- | Jump to last visited dir
/ | Filter dir contents
^/ | Search dir in desktop search tool
^/ | Open 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
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 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)
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
? | Toggle help and settings screen
Q | Quit and change directory
? | Show help, settings
Q | Quit and change dir
q, ^Q | Quit
```

24
nnn.c
View file

@ -1463,31 +1463,31 @@ show_help(void)
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\
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\
^/ | Search dir in desktop search tool\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 screen\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 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\
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\
? | Toggle help and settings screen\n\
Q | Quit and change directory\n\
q, ^Q | Quit\n\n\n");
? | Show help, settings\n\
Q | Quit and change dir\n\
q, ^Q | Quit\n\n");
int i = 0, fd = mkstemp(tmp);