1
0
Fork 0
mirror of https://github.com/davatorium/rofi.git synced 2024-11-18 13:54:36 -05:00

Add -sort to manpage.

Fixes: #682
This commit is contained in:
Dave Davenport 2017-10-03 19:51:27 +02:00
parent 76bc611185
commit 627d068711
2 changed files with 23 additions and 5 deletions

View file

@ -1,7 +1,7 @@
.\" generated with Ronn/v0.7.3 .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3 .\" http://github.com/rtomayko/ronn/tree/0.7.3
. .
.TH "ROFI" "1" "September 2017" "" "" .TH "ROFI" "1" "October 2017" "" ""
. .
.SH "NAME" .SH "NAME"
\fBrofi\fR \- A window switcher, application launcher, ssh dialog and dmenu replacement \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 Disable history
. .
.P .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 \fB\-levenshtein\-sort\fR to enable \fB\-no\-levenshtein\-sort\fR to disable
. .
.P .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" .SS "Dmenu specific"
\fB\-sep\fR \fIseparator\fR \fB\-sep\fR \fIseparator\fR

View file

@ -446,11 +446,20 @@ For that case '#' can be used as a separator.
Disable history 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 `-levenshtein-sort` to enable
`-no-levenshtein-sort` to disable `-no-levenshtein-sort` to disable
When searching, sort the result based on levenshtein distance. When searching, always sort the result based on levenshtein distance.
This setting can be changed at runtime (see `-kb-toggle-sort`). 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 ### Dmenu specific