From 29188ca1310c315d46ff6e67fe95de38408eb947 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Fri, 29 Dec 2017 11:19:37 +0530 Subject: [PATCH] Fix #73: How to discard changes and exit new/rename prompt --- README.md | 2 +- nnn.1 | 5 +++-- 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 ^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 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.