commit 29188ca1310c315d46ff6e67fe95de38408eb947
parent 3a88e31a0e134e8ce80a6439ca215111c95871fc
Author: Arun Prakash Jana <engineerarun@gmail.com>
Date: Fri, 29 Dec 2017 11:19:37 +0530
Fix #73: How to discard changes and exit new/rename prompt
Diffstat:
2 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
@@ -259,7 +259,7 @@ Help & settings, file details, media info and archive listing are shown in the P
Filters support regexes to instantly (search-as-you-type) list the matching entries in the current directory.
There are 3 ways to reset a filter:
-- pressing <kbd>^L</kbd>
+- pressing <kbd>^L</kbd> (at the new/rename prompt <kbd>^L</kbd> followed by <kbd>Enter</kbd> discards all changes and exits prompt)
- a search with no matches
- an extra backspace at the filter prompt (like vi)
diff --git a/nnn.1 b/nnn.1
@@ -171,8 +171,9 @@ instructions.
Filters support regexes to instantly (search-as-you-type) list the matching
entries in the current directory.
.Pp
-There are 3 ways to reset a filter: (1) pressing \fI^L\fR, (2) a search with no matches or
-(3) an extra backspace at the filter prompt (like vi).
+There are 3 ways to reset a filter: (1) pressing \fI^L\fR (at the new/rename
+prompt \fI^L\fR followed by \fIEnter\fR discards all changes and exits prompt),
+(2) a search with no matches or (3) an extra backspace at the filter prompt (like vi).
.Pp
Common use cases: (1) To list all matches starting with the filter expression,
start the expression with a '^' (caret) symbol. (2) Type '\\.mkv' to list all MKV files.