aboutsummaryrefslogtreecommitdiffstats
path: root/nnn.1
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-11 11:23:57 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2020-01-11 11:38:31 +0530
commit8588b3f0bd39496dbcf481c31aa7a61d7e6df20a (patch)
treea349a6109b045f8520521464a2b5e56adf868fd5 /nnn.1
parent0e203288b4662c7781a2c5fc519da219f9eb7403 (diff)
downloadnnn-8588b3f0bd39496dbcf481c31aa7a61d7e6df20a.tar.gz
Support regex/substring filter switch
Diffstat (limited to 'nnn.1')
-rw-r--r--nnn.18
1 files changed, 7 insertions, 1 deletions
diff --git a/nnn.1 b/nnn.1
index d6725a6..5094cd3 100644
--- a/nnn.1
+++ b/nnn.1
@@ -138,7 +138,13 @@ When a session is loaded dynamically, the last working session is saved automati
All the session files are located in the \fB${XDG_CONFIG_HOME:-$HOME/.config}/nnn/sessions\fR directory by the session name.
"@" is the "last session" file.
.Sh FILTERS
-Filters are substrings to find matching entries in the current directory instantly (search-as-you-type). There is a program option to use regex filters.
+Filters are substrings to find matching entries in the current directory instantly (\fIsearch-as-you-type\fR). There is a program option to switch to regex filters.
+.Pp
+To switch the filter type at runtime:
+.br
+- string to regex: press '\\' at empty filter prompt
+.br
+- regex to string: press '/' at empty filter prompt
.Pp
Common regex use cases:
.Pp