summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-10-03 19:51:27 +0200
committerDave Davenport <qball@gmpclient.org>2017-10-15 10:41:42 +0200
commit627d0687118de2cc9ec09740cc5747cdad981c00 (patch)
treeeae7e82805876db1ee904e3b4e5c66efc47add23 /doc
parent76bc6111857a3436f01354b635f759d0d22ce005 (diff)
Add -sort to manpage.
Fixes: #682
Diffstat (limited to 'doc')
-rw-r--r--doc/rofi.113
-rw-r--r--doc/rofi.1.markdown15
2 files changed, 23 insertions, 5 deletions
diff --git a/doc/rofi.1 b/doc/rofi.1
index f75d912f..e4dc59ac 100644
--- a/doc/rofi.1
+++ b/doc/rofi.1
@@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "ROFI" "1" "September 2017" "" ""
+.TH "ROFI" "1" "October 2017" "" ""
.
.SH "NAME"
\fBrofi\fR \- A window switcher, application launcher, ssh dialog and dmenu replacement
@@ -749,10 +749,19 @@ Notes: The I3 Window manager does not like commas in the command when specifying
Disable history
.
.P
+\fB\-sort\fR to enable \fB\-no\-sort\fR to disable
+.
+.P
+Enable, disable sorting\. This setting can be changed at runtime (see \fB\-kb\-toggle\-sort\fR)\.
+.
+.P
\fB\-levenshtein\-sort\fR to enable \fB\-no\-levenshtein\-sort\fR to disable
.
.P
-When searching, sort the result based on levenshtein distance\. This setting can be changed at runtime (see \fB\-kb\-toggle\-sort\fR)\.
+When searching, always sort the result based on levenshtein distance\. If disabled, fzf sorting is used when fuzzy matching is used\. If enabled, levenshtein sorting is used event fuzzy matching is used\.
+.
+.P
+For other matching modes sorting is always done via levenshtein\-sort\.
.
.SS "Dmenu specific"
\fB\-sep\fR \fIseparator\fR
diff --git a/doc/rofi.1.markdown b/doc/rofi.1.markdown
index d28231f6..7fafaa30 100644
--- a/doc/rofi.1.markdown
+++ b/doc/rofi.1.markdown
@@ -332,7 +332,7 @@ This option can be specified multiple times.
Override the default DPI setting.
If set to `0`, it tries to auto-detect based on X11 screen size (similar to i3 and GTK).
-If set to `1`, it tries to auto-detect based on the size of the monitor that rofi is displayed on (similar to latest Qt 5).
+If set to `1`, it tries to auto-detect based on the size of the monitor that rofi is displayed on (similar to latest Qt 5).
### PATTERN setting
@@ -446,11 +446,20 @@ For that case '#' can be used as a separator.
Disable history
+`-sort` to enable
+`-no-sort` to disable
+
+Enable, disable sorting.
+This setting can be changed at runtime (see `-kb-toggle-sort`).
+
`-levenshtein-sort` to enable
`-no-levenshtein-sort` to disable
-When searching, sort the result based on levenshtein distance.
-This setting can be changed at runtime (see `-kb-toggle-sort`).
+When searching, always sort the result based on levenshtein distance.
+If disabled, fzf sorting is used when fuzzy matching is used.
+If enabled, levenshtein sorting is used event fuzzy matching is used.
+
+For other matching modes sorting is always done via levenshtein-sort.
### Dmenu specific