README.md | 9 +++------ nnn.1 | 8 -------- diff --git a/README.md b/README.md index 3ae272113c15cd68d22add22affd6f7061229d03..873f0ea67c890876df47417e84e52c150943f908 100644 --- a/README.md +++ b/README.md @@ -318,11 +318,6 @@ #### Filters Filters support regexes to instantly (search-as-you-type) list the matching entries in the current directory. -Ways to exit filter prompt: -- press ^L to clear filter followed by Bksp (to clear the filter symbol, like vi) - - at other prompts ^L followed by Enter discards all changes and exits prompt -- run a search with no matches and press Enter - Common use cases: - to list all matches starting with the filter expression, start the expression with a `^` (caret) symbol - type `\.mkv` to list all MKV files @@ -513,7 +508,9 @@ lftp can be used from `nnn` for automated remote transfers or copying a selection to a server. Visit the [wiki page](https://github.com/jarun/nnn/wiki/simplify-remote-transfers-with-lftp) for more details on the integration. #### prompt shortcuts -The prompts (expect filter prompt) support some bash-like command-line shortcuts - ^A, ^E, ^U. ^L clears the input. +The prompts (expect filter prompt) support some bash-like command-line shortcuts - ^A, ^E, ^U. + +Key ^L clears and Esc exits _any_ prompt. #### set idle timeout diff --git a/nnn.1 b/nnn.1 index 545dcad563fc97a62494275eb204fd3242fa810b..f78cd9960a7f297a2d3473f1576a8998fd2f0bd8 100644 --- a/nnn.1 +++ b/nnn.1 @@ -222,14 +222,6 @@ .Sh FILTERS Filters support regexes to instantly (search-as-you-type) list the matching entries in the current directory. .Pp -Ways to exit filter prompt: -.Pp -(1) press \fI^L\fR to clear filter followed by \fIBksp\fR (to clear the filter symbol, like vi) -.br - - at other prompts \fI^L\fR followed by \fIEnter\fR discards all changes and exits prompt -.br -(2) run a search with no matches and press \fIEnter\fR -.Pp Common use cases: .Pp (1) To list all matches starting with the filter expression, start the expression