#compdef fzf

_arguments \
    '*:file:_files' \
    '--no-[SS SEARCH]' \
    {-x,--extended}'[Extended-search mode. Enabled by default]' \
    {-e,--exact}'[Enable exact-match]' \
    {-i,--ignore-case}'[Case-insensitive match (default: smart-case match)]' \
    '--no-ignore-case[Case-sensitive match]' \
    '--smart-case[Smart-case match (default)]' \
    '--literal[Do not normalize latin script letters for matching]' \
    '--scheme[Choose scoring scheme tailored for different types of input. RS default]' \
    '--algo[Fuzzy matching algorithm (default: v2)]' \
    {-n,--nth}'[Comma-separated list of field index expressions for limiting search scope]' \
    '--with-nth[Transform the presentation of each line using the field index expressions]' \
    '--accept-nth[Define which fields to print on accept]' \
    '--no-sort[Do not sort the result]' \
    {-d,--delimiter}'[Field delimiter regex for --nth, --with-nth, and field index expressions (def…]' \
    '--tail[Maximum number of items to keep in memory]' \
    '--disabled[Do not perform search]' \
    '--tiebreak[Comma-separated list of sort criteria to apply when the scores are tied. br]' \
    '--read0[Read input delimited by ASCII NUL characters instead of newline characters]' \
    '--print0[Print output delimited by ASCII NUL characters instead of newline characters]' \
    '--ansi[Enable processing of ANSI color codes]' \
    '--sync[Synchronous search for multi-staged filtering]' \
    '--no-tty-default[Make fzf search for the current TTY device via standard error instead of defa…]' \
    '--style[Apply a style preset \[default|minimal|full\[:BORDER_STYLE\]\]]' \
    '--color[Color configuration]' \
    '--no-color[Disable colors]' \
    '--no-bold[Do not use bold text]' \
    '--black[Use black background . SS DISPLAY MODE]' \
    '--height[Display fzf window below the cursor with the given height instead of using th…]' \
    '--min-height[Minimum height when --height is given as a percentage]' \
    '--tmux[Start fzf in a tmux popup (default center,50%). Requires tmux 3. 3 or later]' \
    '--layout[Choose the layout (default: default)]' \
    '--reverse[A synonym for --layout=reverse]' \
    '--margin[Comma-separated expression for margins around the finder. br . br]' \
    '--padding[Comma-separated expression for padding inside the border]' \
    '--border[Draw border around the finder]' \
    '--border-label[Label to print on the horizontal border line]' \
    '--border-label-pos[Position of the border label on the border line]' \
    {-m,--multi}'[Enable multi-select with tab/shift-tab]' \
    '--no-multi[Disable multi-select]' \
    '--highlight-line[Highlight the whole current line]' \
    '--cycle[Enable cyclic scroll]' \
    '--wrap[Enable line wrap]' \
    '--wrap-sign[Indicator for wrapped lines]' \
    '--no-multi-line[Disable multi-line display of items when using --read0]' \
    '--raw[Enable raw mode where non-matching items are also displayed in a dimmed color]' \
    '--track[Make fzf track the current selection when the result list is updated]' \
    '--tac[Reverse the order of the input . RS e. g]' \
    '--gap[Render empty lines between each item]' \
    '--gap-line[The given string will be repeated to draw a horizontal line on each gap (defa…]' \
    '--keep-right[Keep the right end of the line visible when it'"'"'s too long]' \
    '--scroll-off[Number of screen lines to keep above or below when scrolling to the top or to…]' \
    '--no-hscroll[Disable horizontal scroll]' \
    '--hscroll-off[Number of screen columns to keep to the right of the highlighted substring (d…]' \
    '--jump-labels[Label characters for jump mode]' \
    '--gutter[Character used for the gutter column (default: '"'"'â'"'"' unless --no-unicode is g…]' \
    '--pointer[Pointer to the current line (default: '"'"'â'"'"' or '"'"'>'"'"' depending on --no-unicode)]' \
    '--marker[Multi-select marker (default: '"'"'â'"'"' or '"'"'>'"'"' depending on --no-unicode)]' \
    '--marker-multi-line[Multi-select marker for multi-line entries]' \
    '--ellipsis[Ellipsis to show when line is truncated (default: '"'"'Â·Â·'"'"')]' \
    '--tabstop[Number of spaces for a tab character (default: 8)]' \
    '--scrollbar[Use the given character to render scrollbar]' \
    '--no-scrollbar[Do not display scrollbar. A synonym for --scrollbar='"'"''"'"']' \
    '--list-border[Draw border around the list section]' \
    '--list-label[Label to print on the list border]' \
    '--list-label-pos[Position of the list label . SS INPUT SECTION]' \
    '--no-input[Disable and hide the input section. You can no longer type in queries]' \
    '--prompt[Input prompt (default: '"'"'> '"'"')]' \
    '--info[Determines the display style of the finder info. (e. g]' \
    '--info-command[Command to generate the finder info line]' \
    '--no-info[A synonym for --info=hidden]' \
    '--separator[The given string will be repeated to form the horizontal separator on the inf…]' \
    '--no-separator[Do not display horizontal separator on the info line]' \
    '--ghost[Ghost text to display when the input is empty]' \
    '--filepath-word[Make word-wise movements and actions respect path separators]' \
    '--input-border[Draw border around the input section]' \
    '--input-label[Label to print on the input border]' \
    '--input-label-pos[Position of the input label . SS PREVIEW WINDOW]' \
    '--preview[Execute the given command for the current line and display the result on the …]' \
    '--preview-border[Short for --preview-window=border-STYLE]' \
    '--preview-label[Label to print on the horizontal border line of the preview window]' \
    '--preview-label-pos[Position of the border label on the border line of the preview window]' \
    '--preview-window[RS POSITION: (default: right) up down left right Determines…]' \
    '--header[The given string will be printed as the sticky header]' \
    '--header-lines[The first N lines of the input are treated as the sticky header]' \
    '--header-first[Print header before the prompt line]' \
    '--header-border[Draw border around the header section]' \
    '--header-label[Label to print on the header border]' \
    '--header-label-pos[Position of the header label]' \
    '--header-lines-border[Display header from --header-lines with a separate border]' \
    '--footer[The given string will be printed as the sticky footer]' \
    '--footer-border[Draw border around the footer section]' \
    '--footer-label[Label to print on the footer border]' \
    '--footer-label-pos[Position of the footer label . SS SCRIPTING]' \
    {-q,--query}'[Start the finder with the given query]' \
    {-1,--select-1}'[If there is only one match for the initial query (--query), do not start inte…]' \
    {-0,--exit-0}'[If there is no match for the initial query (--query), do not start interactiv…]' \
    {-f,--filter}'[Filter mode. Do not start interactive finder]' \
    '--print-query[Print query as the first line]' \
    '--expect[Comma-separated list of keys that can be used to complete fzf in addition to …]' \
    '--no-clear[Do not clear finder interface on exit]' \
    '--bind[Comma-separated list of custom key/event bindings]' \
    '--with-shell[Shell command and flags to start child processes with]' \
    {--listen,--listen-unsafe}'[Start HTTP server and listen on the given address or Unix socket]' \
    '--walker[Determines the behavior of the built-in directory walker that is used when $F…]' \
    '--walker-root[List of directory names to start the built-in directory walker]' \
    '--walker-skip[Comma-separated list of directory names to skip during the directory walk]' \
    '--history[Load search history from the specified file and update the file on completion]' \
    '--history-size[Maximum number of entries in the history file (default: 1000)]' \
    '--bash[Print script to set up Bash shell integration e. g. eval "$(fzf --bash)"]' \
    '--zsh[Print script to set up Zsh shell integration e. g. source <(fzf --zsh)]' \
    '--fish[Print script to set up Fish shell integration e. g. fzf --fish | source]' \
    '--no-mouse[Disable mouse]' \
    '--no-unicode[Use ASCII characters instead of Unicode drawing characters to draw borders, t…]' \
    '--ambidouble[Set this option if your terminal displays ambiguous width characters (e. g]' \
    '--version[Display version information and exit]' \
    '--help[Show help message]' \
    '--no-extended' \
    '--man[Show man page]' \
    '-c' \
    '-2'
