[38;2;248;248;242m Extended-search mode. Since 0.10.9, this is enabled by default. You can disable it with +x or [0m[38;2;166;226;46m--no-extended[0m[38;2;248;248;242m.[0m
[38;2;248;248;242m Field delimiter regex for [0m[38;2;166;226;46m--nth[0m[38;2;248;248;242m and [0m[38;2;166;226;46m--with-nth[0m[38;2;248;248;242m (default: AWK-style)[0m
[38;2;248;248;242m 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 enable-search or toggle-[0m
[38;2;248;248;242m Enable multi-select with tab/shift-tab. It optionally takes an integer argument which denotes the maximum number of items that can be selected.[0m
[38;2;248;248;242m 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[0m
[38;2;248;248;242m Minimum height when [0m[38;2;166;226;46m--height[0m[38;2;248;248;242m is given in percent (default: 10). Ignored when [0m[38;2;166;226;46m--height[0m[38;2;248;248;242m is not specified.[0m
[38;2;248;248;242m Comma-separated expression for padding inside the border. Padding is distinguishable from margin only when [0m[38;2;166;226;46m--border[0m[38;2;248;248;242m option is used.[0m
[38;2;248;248;242m The given string will be printed as the sticky header. The lines are displayed in the given order from top to bottom regardless of [0m[38;2;166;226;46m--layout[0m[38;2;248;248;242m option, and are not affected by[0m
[38;2;248;248;242m [0m[38;2;166;226;46m--with-nth[0m[38;2;248;248;242m. ANSI color codes are processed even when [0m[38;2;166;226;46m--ansi[0m[38;2;248;248;242m is not set.[0m
[38;2;248;248;242m The first N lines of the input are treated as the sticky header. When [0m[38;2;166;226;46m--with-nth[0m[38;2;248;248;242m is set, the lines are transformed just like the other lines that follow.[0m
[38;2;248;248;242m disabled Query string when search is disabled[0m
[38;2;248;248;242m info Info line (match counters)[0m
[38;2;248;248;242m border Border around the window ([0m[38;2;166;226;46m--border[0m[38;2;248;248;242m and [0m[38;2;166;226;46m--preview[0m[38;2;248;248;242m)[0m
[38;2;248;248;242m prompt Prompt[0m
[38;2;248;248;242m pointer Pointer to the current line[0m
[38;2;248;248;242m Load search history from the specified file and update the file on completion. When enabled, CTRL-N and CTRL-P are automatically remapped to next-history and previous-history.[0m
[38;2;248;248;242m Maximum number of entries in the history file (default: 1000). The file is automatically truncated when the number of the lines exceeds the value.[0m
[38;2;248;248;242m Execute the given command for the current line and display the result on the preview window. {} in the command is the placeholder that is replaced to the single-quoted string of[0m
[38;2;248;248;242m the current line. To transform the replacement string, specify field index expressions between the braces (See FIELD INDEX EXPRESSION for the details).[0m
[38;2;248;248;242m fzf exports [0m[38;2;255;255;255m$[0m[38;2;190;132;255mFZF_PREVIEW_LINES[0m[38;2;248;248;242m and [0m[38;2;255;255;255m$[0m[38;2;190;132;255mFZF_PREVIEW_COLUMNS[0m[38;2;248;248;242m so that they represent the exact size of the preview window. (It also overrides [0m[38;2;255;255;255m$[0m[38;2;190;132;255mLINES[0m[38;2;248;248;242m and [0m[38;2;255;255;255m$[0m[38;2;190;132;255mCOLUMNS[0m[38;2;248;248;242m with the same values[0m
[38;2;248;248;242m but they can be reset by the default shell, so prefer to refer to the ones with FZF_PREVIEW_ prefix.)[0m
[38;2;248;248;242m A placeholder expression starting with + flag will be replaced to the space-separated list of the selected lines (or the current line if no selection was made) individually[0m
[38;2;248;248;242m When using a field index expression, leading and trailing whitespace is stripped from the replacement string. To preserve the whitespace, use the s flag.[0m
[38;2;248;248;242m Also, {q} is replaced to the current query string, and {n} is replaced to zero-based ordinal index of the line. Use {+n} if you want all index numbers when multiple lines are[0m
[38;2;248;248;242m selected.[0m
[38;2;248;248;242m A placeholder expression with f flag is replaced to the path of a temporary file that holds the evaluated list. This is useful when you multi-select a large number of items and[0m
[38;2;248;248;242m the length of the evaluated string may exceed ARG_MAX.[0m
[38;2;248;248;242m e.g.[0m
[38;2;248;248;242m # Press CTRL-A to select 100K items and see the sum of all the numbers.[0m
[38;2;248;248;242m # This won't work properly without 'f' flag due to ARG_MAX limit.[0m
[38;2;248;248;242m [0m[38;2;166;226;46m--preview[0m[38;2;248;248;242m "awk '{sum+=\$1} END {print sum}' {+f}"[0m
[38;2;248;248;242m Note that you can escape a placeholder pattern by prepending a backslash.[0m
[38;2;248;248;242m Preview window will be updated even when there is no match for the current query if any of the placeholder expressions evaluates to a non-empty string.[0m
[38;2;248;248;242m Since 0.24.0, fzf can render partial preview content before the preview command completes. ANSI escape sequence for clearing the display (CSI 2 J) is supported, so you can use[0m
[38;2;248;248;242m it to implement preview window that is constantly updating.[0m
[38;2;248;248;242m e.g.[0m
[38;2;248;248;242m fzf [0m[38;2;166;226;46m--preview[0m[38;2;248;248;242m 'for i in $(seq 100000); do[0m
[38;2;248;248;242m Determines the layout of the preview window.[0m
[38;2;248;248;242m * If the argument contains :hidden, the preview window will be hidden by default until toggle-preview action is triggered.[0m
[38;2;248;248;242m * If size is given as 0, preview window will not be visible, but fzf will still execute the command in the background.[0m
[38;2;248;248;242m * Long lines are truncated by default. Line wrap can be enabled with wrap flag.[0m
[38;2;248;248;242m * Preview window will automatically scroll to the bottom when follow flag is set, similarly to how tail [0m[38;2;166;226;46m-f[0m[38;2;248;248;242m works.[0m
[38;2;248;248;242m e.g.[0m
[38;2;248;248;242m fzf [0m[38;2;166;226;46m--preview-window[0m[38;2;248;248;242m follow [0m[38;2;166;226;46m--preview[0m[38;2;248;248;242m 'for i in $(seq 100000); do[0m
[38;2;248;248;242m * Cyclic scrolling is enabled with cycle flag.[0m
[38;2;248;248;242m * To change the style of the border of the preview window, specify one of the options for [0m[38;2;166;226;46m--border[0m[38;2;248;248;242m with border- prefix. e.g. border-rounded (border with rounded edges, de‐[0m
[38;2;248;248;242m fault), border-sharp (border with sharp edges), border-left, border-none, etc.[0m
[38;2;248;248;242m * [:+SCROLL[OFFSETS][/DENOM]] determines the initial scroll offset of the preview window.[0m
[38;2;248;248;242m - SCROLL can be either a numeric integer or a single-field index expression that refers to a numeric integer.[0m
[38;2;248;248;242m - The optional OFFSETS part is for adjusting the base offset. It should be given as a series of signed integers ([0m[38;2;166;226;46m-INTEGER[0m[38;2;248;248;242m or +INTEGER).[0m
[38;2;248;248;242m - The final /DENOM part is for specifying a fraction of the preview window height.[0m
[38;2;248;248;242m * ~HEADER_LINES keeps the top N lines as the fixed header so that they are always visible.[0m
[38;2;248;248;242m * default resets all options previously set to the default.[0m
[38;2;248;248;242m e.g.[0m
[38;2;248;248;242m # Non-default scroll window positions and sizes[0m
[38;2;248;248;242m If there is only one match for the initial query ([0m[38;2;166;226;46m--query[0m[38;2;248;248;242m), do not start interactive finder and automatically select the only match[0m
[38;2;248;248;242m If there is no match for the initial query ([0m[38;2;166;226;46m--query[0m[38;2;248;248;242m), do not start interactive finder and exit immediately[0m
[38;2;248;248;242m Filter mode. Do not start interactive finder. When used with [0m[38;2;166;226;46m--no-sort[0m[38;2;248;248;242m, fzf becomes a fuzzy-version of grep.[0m
[38;2;248;248;242m Comma-separated list of keys that can be used to complete fzf in addition to the default enter key. When this option is set, fzf will print the name of the key pressed as the[0m
[38;2;248;248;242m first line of its output (or as the second line if [0m[38;2;166;226;46m--print-query[0m[38;2;248;248;242m is also used). The line will be empty if fzf is completed with the default enter key. If [0m[38;2;166;226;46m--expect[0m[38;2;248;248;242m option is[0m
[38;2;248;248;242m specified multiple times, fzf will expect the union of the keys. [0m[38;2;166;226;46m--no-expect[0m[38;2;248;248;242m will clear the list.[0m
[38;2;248;248;242m Do not clear finder interface on exit. If fzf was started in full screen mode, it will not switch back to the original screen, so you'll have to manually run tput rmcup to re‐[0m
[38;2;248;248;242m turn. This option can be used to avoid flickering of the screen when your application needs to start fzf multiple times in order.[0m
[38;2;248;248;242m [0m[38;2;166;226;46m--sync[0m[38;2;248;248;242m Synchronous search for multi-staged filtering. If specified, fzf will launch ncurses finder only after the input stream is complete.[0m
[38;2;248;248;242m e.g. fzf [0m[38;2;166;226;46m--multi[0m[38;2;248;248;242m | fzf [0m[38;2;166;226;46m--sync[0m
[38;2;248;248;242m Default command to use when input is tty. On *nix systems, fzf runs the command with $SHELL -c if SHELL is set, otherwise with sh -c, so in this case make sure that the command[0m
[38;2;248;248;242m 130 Interrupted with CTRL-C or ESC[0m
[38;2;253;151;31mFIELD INDEX EXPRESSION[0m
[38;2;248;248;242m A field index expression can be a non-zero integer or a range expression ([BEGIN]..[END]). [0m[38;2;166;226;46m--nth[0m[38;2;248;248;242m and [0m[38;2;166;226;46m--with-nth[0m[38;2;248;248;242m take a comma-separated list of field index expressions.[0m
[38;2;248;248;242m 3..5 From the 3rd field to the 5th field[0m
[38;2;248;248;242m 2.. From the 2nd field to the last field[0m
[38;2;248;248;242m ..[0m[38;2;166;226;46m-3[0m[38;2;248;248;242m From the 1st field to the 3rd to the last field[0m
[38;2;248;248;242m .. All the fields[0m
[38;2;253;151;31mEXTENDED SEARCH MODE[0m
[38;2;248;248;242m Unless specified otherwise, fzf will start in "extended-search mode". In this mode, you can specify multiple patterns delimited by spaces, such as: 'wild ^music .mp3$ sbtrkt !rmx[0m
[38;2;248;248;242m You can prepend a backslash to a space (\ ) to match a literal space character.[0m
[38;2;248;248;242m Exact-match (quoted)[0m
[38;2;248;248;242m A term that is prefixed by a single-quote character (') is interpreted as an "exact-match" (or "non-fuzzy") term. fzf will search for the exact occurrences of the string.[0m
[38;2;248;248;242m Anchored-match[0m
[38;2;248;248;242m A term can be prefixed by ^, or suffixed by $ to become an anchored-match term. Then fzf will search for the lines that start with or end with the given string. An anchored-match term[0m
[38;2;248;248;242m is also an exact-match term.[0m
[38;2;248;248;242m Negation[0m
[38;2;248;248;242m If a term is prefixed by !, fzf will exclude the lines that satisfy the term from the result. In this case, fzf performs exact match by default.[0m
[38;2;248;248;242m Exact-match by default[0m
[38;2;248;248;242m If you don't prefer fuzzy matching and do not wish to "quote" (prefixing with ') every word, start fzf with [0m[38;2;166;226;46m-e[0m[38;2;248;248;242m or [0m[38;2;166;226;46m--exact[0m[38;2;248;248;242m option. Note that when [0m[38;2;166;226;46m--exact[0m[38;2;248;248;242m is set, '[0m[38;2;166;226;46m-prefix[0m[38;2;248;248;242m "unquotes" the[0m
[38;2;248;248;242m term.[0m
[38;2;248;248;242m OR operator[0m
[38;2;248;248;242m A single bar character term acts as an OR operator. For example, the following query matches entries that start with core and end with either go, rb, or py.[0m
[38;2;248;248;242m e.g. ^core go$ | rb$ | py$[0m
[38;2;253;151;31mKEY/EVENT BINDINGS[0m
[38;2;248;248;242m [0m[38;2;166;226;46m--bind[0m[38;2;248;248;242m option allows you to bind a key or an event to one or more actions. You can use it to customize key bindings or implement dynamic behaviors.[0m
[38;2;248;248;242m [0m[38;2;166;226;46m--bind[0m[38;2;248;248;242m takes a comma-separated list of binding expressions. Each binding expression is KEY:ACTION or EVENT:ACTION.[0m
[38;2;248;248;242m [0m[38;2;166;226;46mchange-preview-window[0m[38;2;249;38;114m([0m[38;2;190;132;255m...[0m[38;2;249;38;114m)[0m[38;2;248;248;242m (change [0m[38;2;166;226;46m--preview-window[0m[38;2;248;248;242m option; rotate through the multiple option sets separated by '|')[0m
[38;2;248;248;242m [0m[38;2;166;226;46mchange-prompt[0m[38;2;249;38;114m([0m[38;2;190;132;255m...[0m[38;2;249;38;114m)[0m[38;2;248;248;242m (change prompt to the given string)[0m
[38;2;248;248;242m [0m[38;2;166;226;46mexecute[0m[38;2;249;38;114m([0m[38;2;190;132;255m...[0m[38;2;249;38;114m)[0m[38;2;248;248;242m (see below for the details)[0m
[38;2;248;248;242m [0m[38;2;166;226;46mexecute-silent[0m[38;2;249;38;114m([0m[38;2;190;132;255m...[0m[38;2;249;38;114m)[0m[38;2;248;248;242m (see below for the details)[0m
[38;2;248;248;242m first (move to the first match)[0m
[38;2;248;248;242m jump-accept (jump and accept)[0m
[38;2;248;248;242m kill-line[0m
[38;2;248;248;242m kill-word alt-d[0m
[38;2;248;248;242m last (move to the last match)[0m
[38;2;248;248;242m next-history (ctrl-n on [0m[38;2;166;226;46m--history[0m[38;2;248;248;242m)[0m
[38;2;248;248;242m page-down pgdn[0m
[38;2;248;248;242m page-up pgup[0m
[38;2;248;248;242m half-page-down[0m
[38;2;248;248;242m half-page-up[0m
[38;2;248;248;242m [0m[38;2;166;226;46mpreview[0m[38;2;249;38;114m([0m[38;2;190;132;255m...[0m[38;2;249;38;114m)[0m[38;2;248;248;242m (see below for the details)[0m
[38;2;248;248;242m preview-down shift-down[0m
[38;2;248;248;242m preview-up shift-up[0m
[38;2;248;248;242m preview-page-down[0m
[38;2;248;248;242m preview-page-up[0m
[38;2;248;248;242m preview-half-page-down[0m
[38;2;248;248;242m preview-half-page-up[0m
[38;2;248;248;242m preview-bottom[0m
[38;2;248;248;242m preview-top[0m
[38;2;248;248;242m previous-history (ctrl-p on [0m[38;2;166;226;46m--history[0m[38;2;248;248;242m)[0m
[38;2;248;248;242m print-query (print query and exit)[0m
[38;2;248;248;242m put (put the character to the prompt)[0m
[38;2;248;248;242m refresh-preview[0m
[38;2;248;248;242m [0m[38;2;166;226;46mrebind[0m[38;2;249;38;114m([0m[38;2;190;132;255m...[0m[38;2;249;38;114m)[0m[38;2;248;248;242m (rebind bindings after unbind)[0m
[38;2;248;248;242m [0m[38;2;166;226;46mreload[0m[38;2;249;38;114m([0m[38;2;190;132;255m...[0m[38;2;249;38;114m)[0m[38;2;248;248;242m (see below for the details)[0m
[38;2;248;248;242m replace-query (replace query string with the current selection)[0m
[38;2;248;248;242m select[0m
[38;2;248;248;242m select-all (select all matches)[0m
[38;2;248;248;242m toggle (right-click)[0m
[38;2;248;248;242m toggle-all (toggle all matches)[0m
[38;2;248;248;242m If the argument contains parentheses, fzf may fail to parse the expression. In that case, you can use any of the following alternative notations to avoid parse errors.[0m
[38;2;248;248;242m action-name[...][0m
[38;2;248;248;242m action-name~...~[0m
[38;2;248;248;242m action-name!...![0m
[38;2;248;248;242m action-name@...@[0m
[38;2;248;248;242m action-name#...#[0m
[38;2;248;248;242m action-name$...$[0m
[38;2;248;248;242m action-name%...%[0m
[38;2;248;248;242m action-name^...^[0m
[38;2;248;248;242m action-name&...&[0m
[38;2;248;248;242m action-name*...*[0m
[38;2;248;248;242m action-name;...;[0m
[38;2;248;248;242m action-name/.../[0m
[38;2;248;248;242m action-name|...|[0m
[38;2;248;248;242m action-name:...[0m
[38;2;248;248;242m The last one is the special form that frees you from parse errors as it does not expect the closing character. The catch is that it should be the last one in the comma-separated[0m
[38;2;248;248;242m list of key-action pairs.[0m
[38;2;248;248;242m COMMAND EXECUTION[0m
[38;2;248;248;242m With [0m[38;2;166;226;46mexecute[0m[38;2;249;38;114m([0m[38;2;190;132;255m...[0m[38;2;249;38;114m)[0m[38;2;248;248;242m action, you can execute arbitrary commands without leaving fzf. For example, you can turn fzf into a simple file browser by binding enter key to less command like[0m
[38;2;248;248;242m You can use the same placeholder expressions as in [0m[38;2;166;226;46m--preview[0m[38;2;248;248;242m.[0m
[38;2;248;248;242m fzf switches to the alternate screen when executing a command. However, if the command is expected to complete quickly, and you are not interested in its output, you might want to use[0m
[38;2;248;248;242m execute-silent instead, which silently executes the command without the switching. Note that fzf will not be responsive until the command is complete. For asynchronous execution, start[0m
[38;2;248;248;242m your command as a background process (i.e. appending &).[0m
[38;2;248;248;242m On *nix systems, fzf runs the command with [0m[38;2;255;255;255m$[0m[38;2;190;132;255mSHELL[0m[38;2;248;248;242m [0m[38;2;166;226;46m-c[0m[38;2;248;248;242m if SHELL is set, otherwise with sh [0m[38;2;166;226;46m-c[0m[38;2;248;248;242m, so in this case make sure that the command is POSIX-compliant.[0m
[38;2;248;248;242m RELOAD INPUT[0m
[38;2;248;248;242m [0m[38;2;166;226;46mreload[0m[38;2;249;38;114m([0m[38;2;190;132;255m...[0m[38;2;249;38;114m)[0m[38;2;248;248;242m action is used to dynamically update the input list without restarting fzf. It takes the same command template with placeholder expressions as [0m[38;2;166;226;46mexecute[0m[38;2;249;38;114m([0m[38;2;190;132;255m...[0m[38;2;249;38;114m)[0m[38;2;248;248;242m.[0m
[38;2;248;248;242m See https://github.com/junegunn/fzf/issues/1750 for more info.[0m
[38;2;248;248;242m e.g.[0m
[38;2;248;248;242m # Update the list of processes by pressing CTRL-R[0m
[38;2;248;248;242m With [0m[38;2;166;226;46mpreview[0m[38;2;249;38;114m([0m[38;2;190;132;255m...[0m[38;2;249;38;114m)[0m[38;2;248;248;242m action, you can specify multiple different preview commands in addition to the default preview command given by [0m[38;2;166;226;46m--preview[0m[38;2;248;248;242m option.[0m
[38;2;248;248;242m e.g.[0m
[38;2;248;248;242m # Default preview command with an extra preview binding[0m
[38;2;248;248;242m change-preview-window action can be used to change the properties of the preview window. Unlike the [0m[38;2;166;226;46m--preview-window[0m[38;2;248;248;242m option, you can specify multiple sets of options separated by '|'[0m
[38;2;248;248;242m characters.[0m
[38;2;248;248;242m e.g.[0m
[38;2;248;248;242m # Rotate through the options using CTRL-/[0m
[38;2;248;248;242m # The default properties given by `[0m[38;2;166;226;46m--preview-window[0m[38;2;248;248;242m` are inherited, so an empty string in the list is interpreted as the default[0m