aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-12-29 11:19:37 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-12-29 11:19:37 +0530
commit29188ca1310c315d46ff6e67fe95de38408eb947 (patch)
tree6a0a6adb38ba7bb43f241d01104b835a91a1e23c
parent3a88e31a0e134e8ce80a6439ca215111c95871fc (diff)
downloadnnn-29188ca1310c315d46ff6e67fe95de38408eb947.tar.gz
Fix #73: How to discard changes and exit new/rename prompt
-rw-r--r--README.md2
-rw-r--r--nnn.15
2 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index 7b225e0..c44d39d 100644
--- 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
index 5563d4c..95b0ed2 100644
--- 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.