aboutsummaryrefslogtreecommitdiffstats
path: root/nnn.1
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-14 14:06:00 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2019-12-14 14:15:07 +0530
commit04d10fc94bcf977f84b22fe0a215ca22c5e55853 (patch)
tree121d2a7bf65bb25ec73371bb4b91b48ad15013a8 /nnn.1
parent1f0f3fdf01ea8f99d38e47deed21aefd3414546e (diff)
downloadnnn-04d10fc94bcf977f84b22fe0a215ca22c5e55853.tar.gz
Use string filters by default
Diffstat (limited to 'nnn.1')
-rw-r--r--nnn.115
1 files changed, 6 insertions, 9 deletions
diff --git a/nnn.1 b/nnn.1
index 8130587..5345ba8 100644
--- a/nnn.1
+++ b/nnn.1
@@ -13,6 +13,7 @@
.Op Ar -e name
.Op Ar -E
.Op Ar -f
+.Op Ar -g
.Op Ar -H
.Op Ar -i
.Op Ar -K
@@ -20,7 +21,6 @@
.Op Ar -p file
.Op Ar -r
.Op Ar -R
-.Op Ar -s
.Op Ar -S
.Op Ar -v
.Op Ar -x
@@ -65,6 +65,9 @@ supports the following options:
.Fl f
run filter as command when the prompt key is pressed
.Pp
+.Fl g
+ use regex filters instead of substring match
+.Pp
.Fl H
show hidden files
.Pp
@@ -89,9 +92,6 @@ supports the following options:
.Fl R
disable rollover at edges
.Pp
-.Fl s
- use substring match for filters instead of regex
-.Pp
.Fl S
start in disk usage analyzer mode
.Pp
@@ -137,10 +137,9 @@ 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 support regexes (default) to instantly (search-as-you-type) list the matching
-entries in the current directory.
+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.
.Pp
-Common use cases:
+Common regex use cases:
.Pp
(1) To list all matches starting with the filter expression, start the expression
with a '^' (caret) symbol.
@@ -149,8 +148,6 @@ with a '^' (caret) symbol.
.br
(3) Use '.*' to match any character (\fIsort of\fR fuzzy search).
.Pp
-There is a program option to filter entries by substring match instead of regex.
-.Pp
There is a program option to execute the current filter as a command when the prompt key is pressed.
.Pp
In the \fInavigate-as-you-type\fR mode directories are opened in filter mode,