diff --git a/man/man1/fzf-tmux.1 b/man/man1/fzf-tmux.1 index 84fb1bc..9a72eec 100644 --- a/man/man1/fzf-tmux.1 +++ b/man/man1/fzf-tmux.1 @@ -21,48 +21,48 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. .. -.TH fzf-tmux 1 "Jun 2024" "fzf 0.53.0" "fzf-tmux - open fzf in tmux split pane" +.TH fzf\-tmux 1 "Jun 2024" "fzf 0.53.0" "fzf\-tmux - open fzf in tmux split pane" .SH NAME -fzf-tmux - open fzf in tmux split pane +fzf\-tmux - open fzf in tmux split pane .SH SYNOPSIS -.B fzf-tmux [LAYOUT OPTIONS] [--] [FZF OPTIONS] +.B fzf\-tmux [LAYOUT OPTIONS] [\-\-] [FZF OPTIONS] .SH DESCRIPTION -fzf-tmux is a wrapper script for fzf that opens fzf in a tmux split pane or in +fzf\-tmux is a wrapper script for fzf that opens fzf in a tmux split pane or in a tmux popup window. It is designed to work just like fzf except that it does -not take up the whole screen. You can safely use fzf-tmux instead of fzf in +not take up the whole screen. You can safely use fzf\-tmux instead of fzf in your scripts as the extra options will be silently ignored if you're not on tmux. .SH LAYOUT OPTIONS -(default layout: \fB-d 50%\fR) +(default layout: \fB\-d 50%\fR) .SS Popup window (requires tmux 3.2 or above) .TP -.B "-p [WIDTH[%][,HEIGHT[%]]]" +.B "\-p [WIDTH[%][,HEIGHT[%]]]" .TP -.B "-w WIDTH[%]" +.B "\-w WIDTH[%]" .TP -.B "-h WIDTH[%]" +.B "\-h WIDTH[%]" .TP -.B "-x COL" +.B "\-x COL" .TP -.B "-y ROW" +.B "\-y ROW" .SS Split pane .TP -.B "-u [height[%]]" +.B "\-u [height[%]]" Split above (up) .TP -.B "-d [height[%]]" +.B "\-d [height[%]]" Split below (down) .TP -.B "-l [width[%]]" +.B "\-l [width[%]]" Split left .TP -.B "-r [width[%]]" +.B "\-r [width[%]]" Split right diff --git a/man/man1/fzf.1 b/man/man1/fzf.1 index 136aa1c..cd18f74 100644 --- a/man/man1/fzf.1 +++ b/man/man1/fzf.1 @@ -38,27 +38,27 @@ with omitted characters and still get the results you want. .SH OPTIONS .SS Note .TP -Most long options have the opposite version with \fB--no-\fR prefix. +Most long options have the opposite version with \fB\-\-no\-\fR prefix. .SS Search mode .TP -.B "-x, --extended" +.B "\-x, \-\-extended" Extended-search mode. Since 0.10.9, this is enabled by default. You can disable -it with \fB+x\fR or \fB--no-extended\fR. +it with \fB+x\fR or \fB\-\-no\-extended\fR. .TP -.B "-e, --exact" +.B "\-e, \-\-exact" Enable exact-match .TP -.B "-i, --ignore-case" +.B "\-i, \-\-ignore\-case" Case-insensitive match (default: smart-case match) .TP -.B "+i, --no-ignore-case" +.B "+i, \-\-no\-ignore\-case" Case-sensitive match .TP -.B "--literal" +.B "\-\-literal" Do not normalize latin script letters for matching. .TP -.BI "--scheme=" SCHEME +.BI "\-\-scheme=" SCHEME Choose scoring scheme tailored for different types of input. .RS @@ -83,12 +83,12 @@ with spaces in their paths. 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. +\fB\-\-tiebreak=index\fR. .RE .RE .TP -.BI "--algo=" TYPE +.BI "\-\-algo=" TYPE Fuzzy matching algorithm (default: v2) .br @@ -98,62 +98,62 @@ Fuzzy matching algorithm (default: v2) .br .TP -.BI "-n, --nth=" "N[,..]" +.BI "\-n, \-\-nth=" "N[,..]" Comma-separated list of field index expressions for limiting search scope. See \fBFIELD INDEX EXPRESSION\fR for the details. When you use this option with -\fB--with-nth\fR, the field index expressions are calculated against the -transformed lines (unlike in \fB--preview\fR where fields are extracted from +\fB\-\-with\-nth\fR, the field index expressions are calculated against the +transformed lines (unlike in \fB\-\-preview\fR where fields are extracted from the original lines) because fzf doesn't allow searching against the hidden fields. .TP -.BI "--with-nth=" "N[,..]" +.BI "\-\-with\-nth=" "N[,..]" Transform the presentation of each line using field index expressions .TP -.BI "-d, --delimiter=" "STR" -Field delimiter regex for \fB--nth\fR, \fB--with-nth\fR, and field index +.BI "\-d, \-\-delimiter=" "STR" +Field delimiter regex for \fB\-\-nth\fR, \fB\-\-with\-nth\fR, and field index expressions (default: AWK-style) .TP -.BI "--disabled" +.BI "\-\-disabled" Do not perform search. With this option, fzf becomes a simple selector interface rather than a "fuzzy finder". You can later enable the search using -\fBenable-search\fR or \fBtoggle-search\fR action. +\fBenable\-search\fR or \fBtoggle\-search\fR action. .SS Search result .TP -.B "+s, --no-sort" +.B "+s, \-\-no\-sort" Do not sort the result .TP -.B "--tail=NUM" +.B "\-\-tail=NUM" Maximum number of items to keep in memory. This is useful when you want to browse an endless stream of data (e.g. log stream) with fzf while limiting memory usage. .RS e.g. \fB# Interactive filtering of a log stream - tail -f *.log | fzf --tail 100000 --tac --no-sort --exact\fR + tail \-f *.log | fzf \-\-tail 100000 \-\-tac \-\-no\-sort \-\-exact\fR .RE .TP -.B "--track" +.B "\-\-track" Make fzf track the current selection when the result list is updated. This can be useful when browsing logs using fzf with sorting disabled. It is -not recommended to use this option with \fB--tac\fR as the resulting behavior +not recommended to use this option with \fB\-\-tac\fR as the resulting behavior can be confusing. Also, consider using \fBtrack\fR action instead of this option. .RS e.g. - \fBgit log --oneline --graph --color=always | nl | - fzf --ansi --track --no-sort --layout=reverse-list\fR + \fBgit log \-\-oneline \-\-graph \-\-color=always | nl | + fzf \-\-ansi \-\-track \-\-no\-sort \-\-layout=reverse\-list\fR .RE .TP -.B "--tac" +.B "\-\-tac" Reverse the order of the input .RS e.g. - \fBhistory | fzf --tac --no-sort\fR + \fBhistory | fzf \-\-tac \-\-no\-sort\fR .RE .TP -.BI "--tiebreak=" "CRI[,..]" +.BI "\-\-tiebreak=" "CRI[,..]" Comma-separated list of sort criteria to apply when the scores are tied. .br @@ -181,72 +181,72 @@ Comma-separated list of sort criteria to apply when the scores are tied. - If \fBend\fR is found in the list, fzf will scan each line backwards .SS Interface .TP -.B "-m, --multi" -Enable multi-select with tab/shift-tab. It optionally takes an integer argument +.B "\-m, \-\-multi" +Enable multi-select with tab/shift\-tab. It optionally takes an integer argument which denotes the maximum number of items that can be selected. .TP -.B "+m, --no-multi" +.B "+m, \-\-no\-multi" Disable multi-select .TP -.B "--no-mouse" +.B "\-\-no\-mouse" Disable mouse .TP -.BI "--bind=" "KEYBINDS" +.BI "\-\-bind=" "KEYBINDS" Comma-separated list of custom key bindings. See \fBKEY/EVENT BINDINGS\fR for the details. .TP -.B "--cycle" +.B "\-\-cycle" Enable cyclic scroll .TP -.B "--no-multi-line" -Disable multi-line display of items when using \fB--read0\fR +.B "\-\-no\-multi\-line" +Disable multi-line display of items when using \fB\-\-read0\fR .TP -.B "--keep-right" +.B "\-\-keep\-right" Keep the right end of the line visible when it's too long. Effective only when the query string is empty. .TP -.BI "--scroll-off=" "LINES" +.BI "\-\-scroll\-off=" "LINES" Number of screen lines to keep above or below when scrolling to the top or to the bottom (default: 3). .TP -.B "--no-hscroll" +.B "\-\-no\-hscroll" Disable horizontal scroll .TP -.BI "--hscroll-off=" "COLS" +.BI "\-\-hscroll\-off=" "COLS" Number of screen columns to keep to the right of the highlighted substring (default: 10). Setting it to a large value will cause the text to be positioned on the center of the screen. .TP -.B "--filepath-word" +.B "\-\-filepath\-word" Make word-wise movements and actions respect path separators. The following actions are affected: -\fBbackward-kill-word\fR +\fBbackward\-kill\-word\fR .br -\fBbackward-word\fR +\fBbackward\-word\fR .br -\fBforward-word\fR +\fBforward\-word\fR .br -\fBkill-word\fR +\fBkill\-word\fR .TP -.BI "--jump-labels=" "CHARS" +.BI "\-\-jump\-labels=" "CHARS" Label characters for \fBjump\fR mode. .SS Layout .TP -.BI "--height=" "[~]HEIGHT[%]" +.BI "\-\-height=" "[~]HEIGHT[%]" Display fzf window below the cursor with the given height instead of using the full screen. If a negative value is specified, the height is calculated as the terminal height minus the given value. - fzf --height=-1 + fzf \-\-height=\-1 When prefixed with \fB~\fR, fzf will automatically determine the height in the range according to the input size. # Will not take up 100% of the screen - seq 5 | fzf --height=~100% + seq 5 | fzf \-\-height=~100% Adaptive height has the following limitations: .br @@ -257,45 +257,45 @@ Adaptive height has the following limitations: * It will not find the right size when there are multi-line items .TP -.BI "--min-height=" "HEIGHT" -Minimum height when \fB--height\fR is given in percent (default: 10). -Ignored when \fB--height\fR is not specified. +.BI "\-\-min\-height=" "HEIGHT" +Minimum height when \fB\-\-height\fR is given in percent (default: 10). +Ignored when \fB\-\-height\fR is not specified. .TP -.BI "--tmux" "[=[center|top|bottom|left|right][,SIZE[%]][,SIZE[%]]]" +.BI "\-\-tmux" "[=[center|top|bottom|left|right][,SIZE[%]][,SIZE[%]]]" Start fzf in a tmux popup (default \fBcenter,50%\fR). Requires tmux 3.3 or later. This option is ignored if you are not running fzf inside tmux. e.g. \fB# Popup in the center with 70% width and height - fzf --tmux 70% + fzf \-\-tmux 70% # Popup on the left with 40% width and 100% height - fzf --tmux right,40% + fzf \-\-tmux right,40% # Popup on the bottom with 100% width and 30% height - fzf --tmux bottom,30% + fzf \-\-tmux bottom,30% # Popup on the top with 80% width and 40% height - fzf --tmux top,80%,40%\fR + fzf \-\-tmux top,80%,40%\fR .TP -.BI "--layout=" "LAYOUT" +.BI "\-\-layout=" "LAYOUT" Choose the layout (default: default) .br -.BR default " Display from the bottom of the screen" +.BR default " Display from the bottom of the screen" .br -.BR reverse " Display from the top of the screen" +.BR reverse " Display from the top of the screen" .br -.BR reverse-list " Display from the top of the screen, prompt at the bottom" +.BR reverse\-list " Display from the top of the screen, prompt at the bottom" .br .TP -.B "--reverse" -A synonym for \fB--layout=reverse\fB +.B "\-\-reverse" +A synonym for \fB\-\-layout=reverse\fB .TP -.BI "--border" [=BORDER_OPT] +.BI "\-\-border" [=BORDER_OPT] Draw border around the finder .br @@ -327,13 +327,13 @@ Draw border around the finder .br If you use a terminal emulator where each box-drawing character takes -2 columns, try setting \fB--ambidouble\fR. If the border is still not properly -rendered, set \fB--no-unicode\fR. +2 columns, try setting \fB\-\-ambidouble\fR. If the border is still not properly +rendered, set \fB\-\-no\-unicode\fR. .TP -.BI "--border-label" [=LABEL] +.BI "\-\-border\-label" [=LABEL] Label to print on the horizontal border line. Should be used with one of the -following \fB--border\fR options. +following \fB\-\-border\fR options. .br .B * rounded @@ -355,19 +355,19 @@ following \fB--border\fR options. e.g. \fB# ANSI color codes are supported # (with https://github.com/busyloop/lolcat) - label=$(curl -s http://metaphorpsum.com/sentences/1 | lolcat -f) + label=$(curl \-s http://metaphorpsum.com/sentences/1 | lolcat \-f) # Border label at the center - fzf --height=10 --border --border-label="╢ $label ╟" --color=label:italic:black + fzf \-\-height=10 \-\-border \-\-border\-label="╢ $label ╟" \-\-color=label:italic:black # Left-aligned (positive integer) - fzf --height=10 --border --border-label="╢ $label ╟" --border-label-pos=3 --color=label:italic:black + fzf \-\-height=10 \-\-border \-\-border\-label="╢ $label ╟" \-\-border\-label\-pos=3 \-\-color=label:italic:black # Right-aligned (negative integer) on the bottom line (:bottom) - fzf --height=10 --border --border-label="╢ $label ╟" --border-label-pos=-3:bottom --color=label:italic:black\fR + fzf \-\-height=10 \-\-border \-\-border\-label="╢ $label ╟" \-\-border\-label\-pos=\-3:bottom \-\-color=label:italic:black\fR .TP -.BI "--border-label-pos" [=N[:top|bottom]] +.BI "\-\-border\-label\-pos" [=N[:top|bottom]] Position of the border label on the border line. Specify a positive integer as the column position from the left. Specify a negative integer to right-align the label. Label is printed on the top border line by default, add @@ -375,17 +375,17 @@ the label. Label is printed on the top border line by default, add \fB0 (or \fBcenter\fR) will put the label at the center of the border line. .TP -.B "--no-unicode" +.B "\-\-no\-unicode" Use ASCII characters instead of Unicode drawing characters to draw borders, the spinner and the horizontal separator. .TP -.B "--ambidouble" +.B "\-\-ambidouble" Set this option if your terminal displays ambiguous width characters (e.g. box-drawing characters for borders) as 2 columns. .TP -.BI "--margin=" MARGIN +.BI "\-\-margin=" MARGIN Comma-separated expression for margins around the finder. .br @@ -407,19 +407,19 @@ terminal size with \fB%\fR suffix. .br e.g. - \fBfzf --margin 10% - fzf --margin 1,5%\fR + \fBfzf \-\-margin 10% + fzf \-\-margin 1,5%\fR .RE .TP -.BI "--padding=" PADDING +.BI "\-\-padding=" PADDING Comma-separated expression for padding inside the border. Padding is -distinguishable from margin only when \fB--border\fR option is used. +distinguishable from margin only when \fB\-\-border\fR option is used. .br .br e.g. - \fBfzf --margin 5% --padding 5% --border --preview 'cat {}' \\ - --color bg:#222222,preview-bg:#333333\fR + \fBfzf \-\-margin 5% \-\-padding 5% \-\-border \-\-preview 'cat {}' \\ + \-\-color bg:#222222,preview\-bg:#333333\fR .br .RS @@ -434,26 +434,26 @@ e.g. .RE .TP -.BI "--info=" "STYLE" +.BI "\-\-info=" "STYLE" Determines the display style of the finder info. (e.g. match counter, loading indicator, etc.) -.BR default " On the left end of the horizontal separator" +.BR default " On the left end of the horizontal separator" .br -.BR right " On the right end of the horizontal separator" +.BR right " On the right end of the horizontal separator" .br -.BR hidden " Do not display finder info" +.BR hidden " Do not display finder info" .br -.BR inline " After the prompt with the default prefix ' < '" +.BR inline " After the prompt with the default prefix ' < '" .br -.BR inline:PREFIX " After the prompt with a non-default prefix" +.BR inline:PREFIX " After the prompt with a non-default prefix" .br -.BR inline-right " On the right end of the prompt line" +.BR inline\-right " On the right end of the prompt line" .br -.BR inline-right:PREFIX " On the right end of the prompt line with a custom prefix" +.BR inline\-right:PREFIX " On the right end of the prompt line with a custom prefix" .br .TP -.BI "--info-command=" "COMMAND" +.BI "\-\-info\-command=" "COMMAND" Command to generate the finder info line. The command runs synchronously and blocks the UI until completion, so make sure that it's fast. ANSI color codes are supported. \fB$FZF_INFO\fR variable is set to the original info text. @@ -462,73 +462,73 @@ ENVIRONMENT VARIABLES EXPORTED TO CHILD PROCESSES. e.g. \fB# Prepend the current cursor position in yellow - fzf --info-command='echo -e "\\x1b[33;1m$FZF_POS\\x1b[m/$FZF_INFO 💛"'\fR + fzf \-\-info\-command='echo \-e "\\x1b[33;1m$FZF_POS\\x1b[m/$FZF_INFO 💛"'\fR .TP -.B "--no-info" -A synonym for \fB--info=hidden\fB +.B "\-\-no\-info" +A synonym for \fB\-\-info=hidden\fB .TP -.BI "--separator=" "STR" +.BI "\-\-separator=" "STR" The given string will be repeated to form the horizontal separator on the info -line (default: '─' or '-' depending on \fB--no-unicode\fR). +line (default: '─' or '\-' depending on \fB\-\-no\-unicode\fR). ANSI color codes are supported. .TP -.B "--no-separator" +.B "\-\-no\-separator" Do not display horizontal separator on the info line. A synonym for -\fB--separator=''\fB +\fB\-\-separator=''\fB .TP -.BI "--scrollbar=" "CHAR1[CHAR2]" +.BI "\-\-scrollbar=" "CHAR1[CHAR2]" Use the given character to render scrollbar. (default: '│' or ':' depending on -\fB--no-unicode\fR). The optional \fBCHAR2\fR is used to render scrollbar of +\fB\-\-no\-unicode\fR). The optional \fBCHAR2\fR is used to render scrollbar of the preview window. .TP -.B "--no-scrollbar" -Do not display scrollbar. A synonym for \fB--scrollbar=''\fB +.B "\-\-no\-scrollbar" +Do not display scrollbar. A synonym for \fB\-\-scrollbar=''\fB .TP -.BI "--prompt=" "STR" +.BI "\-\-prompt=" "STR" Input prompt (default: '> ') .TP -.BI "--pointer=" "STR" -Pointer to the current line (default: '▌' or '>' depending on \fB--no-unicode\fR) +.BI "\-\-pointer=" "STR" +Pointer to the current line (default: '▌' or '>' depending on \fB\-\-no\-unicode\fR) .TP -.BI "--marker=" "STR" -Multi-select marker (default: '┃' or '>' depending on \fB--no-unicode\fR) +.BI "\-\-marker=" "STR" +Multi-select marker (default: '┃' or '>' depending on \fB\-\-no\-unicode\fR) .TP -.BI "--marker-multi-line=" "STR" +.BI "\-\-marker\-multi\-line=" "STR" Multi-select marker for multi-line entries. 3 elements for top, middle, and bottom. -(default: '╻┃╹' or '.|'' depending on \fB--no-unicode\fR) +(default: '╻┃╹' or '.|'' depending on \fB\-\-no\-unicode\fR) .TP -.BI "--header=" "STR" +.BI "\-\-header=" "STR" The given string will be printed as the sticky header. The lines are displayed -in the given order from top to bottom regardless of \fB--layout\fR option, and -are not affected by \fB--with-nth\fR. ANSI color codes are processed even when -\fB--ansi\fR is not set. +in the given order from top to bottom regardless of \fB\-\-layout\fR option, and +are not affected by \fB\-\-with\-nth\fR. ANSI color codes are processed even when +\fB\-\-ansi\fR is not set. .TP -.BI "--header-lines=" "N" +.BI "\-\-header\-lines=" "N" The first N lines of the input are treated as the sticky header. When -\fB--with-nth\fR is set, the lines are transformed just like the other +\fB\-\-with\-nth\fR is set, the lines are transformed just like the other lines that follow. .TP -.B "--header-first" +.B "\-\-header\-first" Print header before the prompt line .TP -.BI "--ellipsis=" "STR" +.BI "\-\-ellipsis=" "STR" Ellipsis to show when line is truncated (default: '..') .SS Display .TP -.B "--ansi" +.B "\-\-ansi" Enable processing of ANSI color codes .TP -.BI "--tabstop=" SPACES +.BI "\-\-tabstop=" SPACES Number of spaces for a tab character (default: 8) .TP -.BI "--color=" "[BASE_SCHEME][,COLOR_NAME[:ANSI_COLOR][:ANSI_ATTRIBUTES]]..." +.BI "\-\-color=" "[BASE_SCHEME][,COLOR_NAME[:ANSI_COLOR][:ANSI_ATTRIBUTES]]..." Color configuration. The name of the base color scheme is followed by custom color mappings. @@ -539,39 +539,39 @@ color mappings. \fBdark \fRColor scheme for dark 256-color terminal \fBlight \fRColor scheme for light 256-color terminal \fB16 \fRColor scheme for 16-color terminal - \fBbw \fRNo colors (equivalent to \fB--no-color\fR) + \fBbw \fRNo colors (equivalent to \fB\-\-no\-color\fR) .B COLOR NAMES: \fBfg \fRText - \fBselected-fg \fRSelected line text - \fBpreview-fg \fRPreview window text + \fBselected\-fg \fRSelected line text + \fBpreview\-fg \fRPreview window text \fBbg \fRBackground - \fBselected-bg \fRSelected line background - \fBpreview-bg \fRPreview window background + \fBselected\-bg \fRSelected line background + \fBpreview\-bg \fRPreview window background \fBhl \fRHighlighted substrings - \fBselected-hl \fRHighlighted substrings in the selected line - \fBcurrent-fg (fg+) \fRText (current line) - \fBcurrent-bg (bg+) \fRBackground (current line) + \fBselected\-hl \fRHighlighted substrings in the selected line + \fBcurrent\-fg (fg+) \fRText (current line) + \fBcurrent\-bg (bg+) \fRBackground (current line) \fBgutter \fRGutter on the left - \fBcurrent-hl (hl+) \fRHighlighted substrings (current line) + \fBcurrent\-hl (hl+) \fRHighlighted substrings (current line) \fBquery \fRQuery string - \fBdisabled \fRQuery string when search is disabled (\fB--disabled\fR) + \fBdisabled \fRQuery string when search is disabled (\fB\-\-disabled\fR) \fBinfo \fRInfo line (match counters) - \fBborder \fRBorder around the window (\fB--border\fR and \fB--preview\fR) + \fBborder \fRBorder around the window (\fB\-\-border\fR and \fB\-\-preview\fR) \fBscrollbar \fRScrollbar - \fBpreview-border \fRBorder around the preview window (\fB--preview\fR) - \fBpreview-scrollbar \fRScrollbar + \fBpreview\-border \fRBorder around the preview window (\fB\-\-preview\fR) + \fBpreview\-scrollbar \fRScrollbar \fBseparator \fRHorizontal separator on info line - \fBlabel \fRBorder label (\fB--border-label\fR and \fB--preview-label\fR) - \fBpreview-label \fRBorder label of the preview window (\fB--preview-label\fR) + \fBlabel \fRBorder label (\fB\-\-border\-label\fR and \fB\-\-preview\-label\fR) + \fBpreview\-label \fRBorder label of the preview window (\fB\-\-preview\-label\fR) \fBprompt \fRPrompt \fBpointer \fRPointer to the current line - \fBmarker \fRMulti-select marker + \fBmarker \fRMulti\-select marker \fBspinner \fRStreaming input indicator \fBheader \fRHeader .B ANSI COLORS: - \fB-1 \fRDefault terminal foreground/background color + \fB\-1 \fRDefault terminal foreground/background color \fB \fR(or the original color of the text) \fB0 ~ 15 \fR16 base colors \fBblack\fR @@ -582,14 +582,14 @@ color mappings. \fBmagenta\fR \fBcyan\fR \fBwhite\fR - \fBbright-black\fR (gray | grey) - \fBbright-red\fR - \fBbright-green\fR - \fBbright-yellow\fR - \fBbright-blue\fR - \fBbright-magenta\fR - \fBbright-cyan\fR - \fBbright-white\fR + \fBbright\-black\fR (gray | grey) + \fBbright\-red\fR + \fBbright\-green\fR + \fBbright\-yellow\fR + \fBbright\-blue\fR + \fBbright\-magenta\fR + \fBbright\-cyan\fR + \fBbright\-white\fR \fB16 ~ 255 \fRANSI 256 colors \fB#rrggbb \fR24-bit colors @@ -606,37 +606,37 @@ color mappings. \fB# Seoul256 theme with 8-bit colors # (https://github.com/junegunn/seoul256.vim) - fzf --color='bg:237,bg+:236,info:143,border:240,spinner:108' \\ - --color='hl:65,fg:252,header:65,fg+:252' \\ - --color='pointer:161,marker:168,prompt:110,hl+:108' + fzf \-\-color='bg:237,bg+:236,info:143,border:240,spinner:108' \\ + \-\-color='hl:65,fg:252,header:65,fg+:252' \\ + \-\-color='pointer:161,marker:168,prompt:110,hl+:108' # Seoul256 theme with 24-bit colors - fzf --color='bg:#4B4B4B,bg+:#3F3F3F,info:#BDBB72,border:#6B6B6B,spinner:#98BC99' \\ - --color='hl:#719872,fg:#D9D9D9,header:#719872,fg+:#D9D9D9' \\ - --color='pointer:#E12672,marker:#E17899,prompt:#98BEDE,hl+:#98BC99'\fR + fzf \-\-color='bg:#4B4B4B,bg+:#3F3F3F,info:#BDBB72,border:#6B6B6B,spinner:#98BC99' \\ + \-\-color='hl:#719872,fg:#D9D9D9,header:#719872,fg+:#D9D9D9' \\ + \-\-color='pointer:#E12672,marker:#E17899,prompt:#98BEDE,hl+:#98BC99'\fR .RE .TP -.B "--highlight-line" +.B "\-\-highlight\-line" Highlight the whole current line .TP -.B "--no-bold" +.B "\-\-no\-bold" Do not use bold text .TP -.B "--black" +.B "\-\-black" Use black background .SS History .TP -.BI "--history=" "HISTORY_FILE" +.BI "\-\-history=" "HISTORY_FILE" Load search history from the specified file and update the file on completion. -When enabled, \fBCTRL-N\fR and \fBCTRL-P\fR are automatically remapped to -\fBnext-history\fR and \fBprev-history\fR. +When enabled, \fBCTRL\-N\fR and \fBCTRL\-P\fR are automatically remapped to +\fBnext\-history\fR and \fBprev\-history\fR. .TP -.BI "--history-size=" "N" +.BI "\-\-history\-size=" "N" Maximum number of entries in the history file (default: 1000). The file is automatically truncated when the number of the lines exceeds the value. .SS Preview .TP -.BI "--preview=" "COMMAND" +.BI "\-\-preview=" "COMMAND" Execute the given command for the current line and display the result on the preview window. \fB{}\fR in the command is the placeholder that is replaced to the single-quoted string of the current line. To transform the replacement @@ -645,8 +645,8 @@ EXPRESSION\fR for the details). .RS e.g. - \fBfzf --preview='head -$LINES {}' - ls -l | fzf --preview="echo user={3} when={-4..-2}; cat {-1}" --header-lines=1\fR + \fBfzf \-\-preview='head \-$LINES {}' + ls \-l | fzf \-\-preview="echo user={3} when={\-4..\-2}; cat {\-1}" \-\-header\-lines=1\fR fzf exports \fB$FZF_PREVIEW_LINES\fR and \fB$FZF_PREVIEW_COLUMNS\fR so that they represent the exact size of the preview window. (It also overrides @@ -662,8 +662,8 @@ space-separated list of the selected lines (or the current line if no selection was made) individually quoted. e.g. - \fBfzf --multi --preview='head -10 {+}' - git log --oneline | fzf --multi --preview 'git show {+1}'\fR + \fBfzf \-\-multi \-\-preview='head \-10 {+}' + git log \-\-oneline | fzf \-\-multi \-\-preview 'git show {+1}'\fR When using a field index expression, leading and trailing whitespace is stripped from the replacement string. To preserve the whitespace, use the \fBs\fR flag. @@ -674,10 +674,10 @@ multi-select a large number of items and the length of the evaluated string may exceed \fBARG_MAX\fR. e.g. - \fB# Press CTRL-A to select 100K items and see the sum of all the numbers. + \fB# Press CTRL\-A to select 100K items and see the sum of all the numbers. # This won't work properly without 'f' flag due to ARG_MAX limit. - seq 100000 | fzf --multi --bind ctrl-a:select-all \\ - --preview "awk '{sum+=\\$1} END {print sum}' {+f}"\fR + seq 100000 | fzf \-\-multi \-\-bind ctrl\-a:select\-all \\ + \-\-preview "awk '{sum+=\\$1} END {print sum}' {+f}"\fR Also, @@ -699,48 +699,48 @@ supported, so you can use it to implement preview window that is constantly updating. e.g. - \fBfzf --preview 'for i in $(seq 100000); do + \fBfzf \-\-preview 'for i in $(seq 100000); do (( i % 200 == 0 )) && printf "\\033[2J" echo "$i" sleep 0.01 done'\fR fzf has experimental support for Kitty graphics protocol and Sixel graphics. -The following example uses https://github.com/junegunn/fzf/blob/master/bin/fzf-preview.sh +The following example uses https://github.com/junegunn/fzf/blob/master/bin/fzf\-preview.sh script to render an image using either of the protocols inside the preview window. e.g. - \fBfzf --preview='fzf-preview.sh {}'\fR + \fBfzf \-\-preview='fzf\-preview.sh {}'\fR .RE .TP -.BI "--preview-label" [=LABEL] +.BI "\-\-preview\-label" [=LABEL] Label to print on the horizontal border line of the preview window. -Should be used with one of the following \fB--preview-window\fR options. +Should be used with one of the following \fB\-\-preview\-window\fR options. .br -.B * border-rounded (default on non-Windows platforms) +.B * border\-rounded (default on non-Windows platforms) .br -.B * border-sharp (default on Windows) +.B * border\-sharp (default on Windows) .br -.B * border-bold +.B * border\-bold .br -.B * border-double +.B * border\-double .br -.B * border-block +.B * border\-block .br -.B * border-thinblock +.B * border\-thinblock .br -.B * border-horizontal +.B * border\-horizontal .br -.B * border-top +.B * border\-top .br -.B * border-bottom +.B * border\-bottom .br .TP -.BI "--preview-label-pos" [=N[:top|bottom]] +.BI "\-\-preview\-label\-pos" [=N[:top|bottom]] Position of the border label on the border line of the preview window. Specify a positive integer as the column position from the left. Specify a negative integer to right-align the label. Label is printed on the top border line by @@ -749,7 +749,7 @@ default value 0 (or \fBcenter\fR) will put the label at the center of the border line. .TP -.BI "--preview-window=" "[POSITION][,SIZE[%]][,border-BORDER_OPT][,[no]wrap][,[no]follow][,[no]cycle][,[no]hidden][,+SCROLL[OFFSETS][/DENOM]][,~HEADER_LINES][,default][,