From: Arun Prakash Jana Date: Fri, 29 Dec 2017 05:49:37 +0000 (+0530) Subject: Fix #73: How to discard changes and exit new/rename prompt X-Git-Tag: v1.7~53 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=29188ca1310c315d46ff6e67fe95de38408eb947;p=nnn.git Fix #73: How to discard changes and exit new/rename prompt --- diff --git a/README.md b/README.md index 7b225e00..c44d39d6 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 ^L +- pressing ^L (at the new/rename prompt ^L followed by Enter 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 5563d4c8..95b0ed2b 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.