From dc73fba188353155f203e1cb005447e410349af0 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 5 Jun 2024 10:34:44 +0900 Subject: [PATCH] [man] Clarification on --scheme options --- man/man1/fzf.1 | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index d636db22..548194a6 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -61,14 +61,32 @@ Do not normalize latin script letters for matching. .BI "--scheme=" SCHEME Choose scoring scheme tailored for different types of input. -.br -.BR default " Generic scoring scheme designed to work well with any type of input" -.br -.BR path " Scoring scheme well suited for file paths -.br -.BR history " Scoring scheme well suited for command history or any input where chronological ordering is important - Sets \fB--tiebreak=index\fR as well. -.br +.RS +.B default +.RS +Generic scoring scheme designed to work well with any type of input. +.RE +.RE + +.RS +.B path +.RS +Additional bonus point is only given to the characters after path separator. +You might want to choose this scheme over \fBdefault\fR if you have many files +with spaces in their paths. +.RE +.RE + +.RS +.B history +.RS +Scoring scheme well suited for command history or any input where chronological +ordering is important. No additional bonus points are given so that we give +more weight to the chronological ordering. This also sets +\fB--tiebreak=index\fR. +.RE +.RE + .TP .BI "--algo=" TYPE Fuzzy matching algorithm (default: v2)