mirror of
https://github.com/jarun/nnn.git
synced 2025-01-23 17:26:42 +00:00
When filter is empty, open file on Enter
This commit is contained in:
parent
6a9640afdf
commit
a9a8b30bdf
|
@ -188,7 +188,7 @@ Right, Enter, l, ^M | Open file or enter dir
|
||||||
|
|
||||||
Filters support regexes to display only the matched entries in the current directory view. This effectively allows searching through the directory tree for a particular entry. Matching entries are shown instantly (search-as-you-type).
|
Filters support regexes to display only the matched entries in the current directory view. This effectively allows searching through the directory tree for a particular entry. Matching entries are shown instantly (search-as-you-type).
|
||||||
|
|
||||||
Filters do not stack on top of each other. They are applied anew every time. There are 4 ways to reset a filter: <kbd>^L</kbd>, an empty filter expression, a search with no results or an extra backspace at the filter prompt (like vi).
|
Filters do not stack on top of each other. They are applied anew every time. There are 3 ways to reset a filter: <kbd>^L</kbd>, a search with no matches or an extra backspace at the filter prompt (like vi).
|
||||||
|
|
||||||
Examples: If you want to list all matches starting with the filter expression (a common use case), start the expression with a `^` (caret) symbol. To list all MKV files type `\.mkv`.
|
Examples: If you want to list all matches starting with the filter expression (a common use case), start the expression with a `^` (caret) symbol. To list all MKV files type `\.mkv`.
|
||||||
|
|
||||||
|
|
5
nnn.1
5
nnn.1
|
@ -139,9 +139,8 @@ searching through the directory tree for a particular entry. Matching entries
|
||||||
are shown instantly (\fIsearch-as-you-type\fR).
|
are shown instantly (\fIsearch-as-you-type\fR).
|
||||||
.Pp
|
.Pp
|
||||||
Filters do not stack on top of each other. They are applied anew
|
Filters do not stack on top of each other. They are applied anew
|
||||||
every time. There are 4 ways to reset a filter: \fI^L\fR, an empty filter
|
every time. There are 3 ways to reset a filter: \fI^L\fR, a search with no
|
||||||
expression, a search with no results or an extra backspace at the filter prompt
|
matches or an extra backspace at the filter prompt (like vi).
|
||||||
(like vi).
|
|
||||||
.Pp
|
.Pp
|
||||||
If you want to list all matches starting with the filter expression (a common
|
If you want to list all matches starting with the filter expression (a common
|
||||||
use case), start the expression with a
|
use case), start the expression with a
|
||||||
|
|
Loading…
Reference in a new issue