mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 13:51:31 +00:00
Document prompt clear and exit behaviour
This commit is contained in:
parent
98fd5755d1
commit
03ea2252b2
|
@ -318,11 +318,6 @@ The path is shown in the help and configuration screen.
|
||||||
|
|
||||||
Filters support regexes to instantly (search-as-you-type) list the matching entries in the current directory.
|
Filters support regexes to instantly (search-as-you-type) list the matching entries in the current directory.
|
||||||
|
|
||||||
Ways to exit filter prompt:
|
|
||||||
- press <kbd>^L</kbd> to clear filter followed by <kbd>Bksp</kbd> (to clear the filter symbol, like vi)
|
|
||||||
- at other prompts <kbd>^L</kbd> followed by <kbd>Enter</kbd> discards all changes and exits prompt
|
|
||||||
- run a search with no matches and press <kbd>Enter</kbd>
|
|
||||||
|
|
||||||
Common use cases:
|
Common use cases:
|
||||||
- to list all matches starting with the filter expression, start the expression with a `^` (caret) symbol
|
- to list all matches starting with the filter expression, start the expression with a `^` (caret) symbol
|
||||||
- type `\.mkv` to list all MKV files
|
- type `\.mkv` to list all MKV files
|
||||||
|
@ -513,7 +508,9 @@ lftp can be used from `nnn` for automated remote transfers or copying a selectio
|
||||||
|
|
||||||
#### prompt shortcuts
|
#### prompt shortcuts
|
||||||
|
|
||||||
The prompts (expect filter prompt) support some bash-like command-line shortcuts - <kbd>^A</kbd>, <kbd>^E</kbd>, <kbd>^U</kbd>. <kbd>^L</kbd> clears the input.
|
The prompts (expect filter prompt) support some bash-like command-line shortcuts - <kbd>^A</kbd>, <kbd>^E</kbd>, <kbd>^U</kbd>.
|
||||||
|
|
||||||
|
Key <kbd>^L</kbd> clears and <kbd>Esc</kbd> exits _any_ prompt.
|
||||||
|
|
||||||
#### set idle timeout
|
#### set idle timeout
|
||||||
|
|
||||||
|
|
8
nnn.1
8
nnn.1
|
@ -222,14 +222,6 @@ When a context is quit, the next active context is selected. If the last active
|
||||||
Filters support regexes to instantly (search-as-you-type) list the matching
|
Filters support regexes to instantly (search-as-you-type) list the matching
|
||||||
entries in the current directory.
|
entries in the current directory.
|
||||||
.Pp
|
.Pp
|
||||||
Ways to exit filter prompt:
|
|
||||||
.Pp
|
|
||||||
(1) press \fI^L\fR to clear filter followed by \fIBksp\fR (to clear the filter symbol, like vi)
|
|
||||||
.br
|
|
||||||
- at other prompts \fI^L\fR followed by \fIEnter\fR discards all changes and exits prompt
|
|
||||||
.br
|
|
||||||
(2) run a search with no matches and press \fIEnter\fR
|
|
||||||
.Pp
|
|
||||||
Common use cases:
|
Common use cases:
|
||||||
.Pp
|
.Pp
|
||||||
(1) To list all matches starting with the filter expression, start the expression
|
(1) To list all matches starting with the filter expression, start the expression
|
||||||
|
|
Loading…
Reference in a new issue