Update man page

This commit is contained in:
Arun Prakash Jana 2020-02-27 19:51:04 +05:30
parent 95356681ff
commit b5339c2dc5
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 40 additions and 23 deletions

63
nnn.1
View File

@ -172,31 +172,48 @@ instantly (\fIsearch-as-you-type\fR). There is a program option to switch to
regex filters. Matches are case-insensitive by default. In each context the
last filter is persisted at runtime or in saved sessions.
.Pp
Special keys at empty filter prompt:
Special keys at filter prompt:
.Bd -literal
------ + ---------------------------------------
Key | Function
------ + ---------------------------------------
^char | Usual keybind functionality
Esc | Exit filter prompt but skip dir refresh
------ + ---------------------------------------
.Ed
.Pp
- toggle between string and regex: '/'
.br
- toggle case sensitivity: ':'
.br
- apply the last filter (or clear filter if non-empty): '^L'
.br
- show help and config screen: '?'
.br
- show command prompt: ']'
.br
- launch an application: '='
.br
- run a plugin by its key: ';'
.br
- pin current directory: ','
.br
- go HOME: '~'
Special keys at \fBempty filter prompt\fR:
.Bd -literal
------ + ---------------------------------------
Key | Function
------ + ---------------------------------------
? | Show help and config screen
/ | Toggle between string and regex
: | Toggle case-sensitivity
^L | Clear filter (\fIif prompt is non-empty\fR)
| OR apply last filter
------ + ---------------------------------------
.Ed
.Pp
Other noteworthy keys:
.Pp
- '^char': usual keybind functionality
.br
- 'Esc': exit filter prompt but skip dir refresh
Additional special keys at \fBempty filter prompt\fR
in \fBnav-as-you-type\fR mode:
.Bd -literal
------ + ------------------------
Key | Function
------ + ------------------------
' | Go to first non-dir file
+ | Toggle proceed on open
, | Pin CWD
- | Go to last visited dir
. | Show hidden files
; | Run a plugin by its key
= | Launch a GUI application
@ | Visit start dir
] | Show command prompt
` | Visit /
~ | Go HOME
------ + ------------------------
.Ed
.Pp
Common regex use cases:
.Pp