summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Davenport <qball@gmpclient.org>2017-10-03 19:51:27 +0200
committerDave Davenport <qball@gmpclient.org>2017-10-03 19:51:27 +0200
commit7081b56aca059574f8ef7bcdb169ef1979ae9f67 (patch)
treeab1490e8f23436113f8c7114682313f103a8077a
parent7929818be2e3b16437c37f50fc3fc7be5da4f658 (diff)
Add -sort to manpage.
Fixes: #682
-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