#compdef fzf

_arguments \
         '*:file:_files' \
		{-x,--extended}'[Extended-search mode. Since 0. 10. 9, this is enabled by default.]' \
		{-e,--exact}'[Enable exact-match.]' \
		'-i[Case-insensitive match (default: smart-case match).]' \
		'--literal[Do not normalize latin script letters for matching.]' \
		'--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 field index expressions.]' \
		{-d,--delimiter}'[Field delimiter regex for --nth and --with-nth (default: AWK-style).]' \
		'--phony[Do not perform search.]' \
		'--no-sort[Do not sort the result.]' \
		'--tac[Reverse the order of the input . RS e. g.]' \
		'--tiebreak[Comma-separated list of sort criteria to apply when the scores are tied. br .]' \
		{-m,--multi}'[Enable multi-select with tab/shift-tab.]' \
		'--no-multi[Disable multi-select.]' \
		'--no-mouse[Disable mouse.]' \
		'--bind[Comma-separated list of custom key bindings.]' \
		'--cycle[Enable cyclic scroll.]' \
		'--keep-right[Keep the right end of the line visible when it'"'"'s too long.]' \
		'--no-hscroll[Disable horizontal scroll.]' \
		'--hscroll-off[Number of screen columns to keep to the right of the highlighted substring (d…]' \
		'--filepath-word[Make word-wise movements and actions respect path separators.]' \
		'--jump-labels[Label characters for jump and jump-accept . SS Layout.]' \
		'--height[Display fzf window below the cursor with the given height instead of using th…]' \
		'--min-height[Minimum height when --height is given in percent (default: 10).]' \
		'--layout[Choose the layout (default: default) .]' \
		'--reverse[A synonym for --layout=reverse.]' \
		'--border[Draw border around the finder .]' \
		'--no-unicode[Use ASCII characters instead of Unicode box drawing characters to draw border.]' \
		'--margin[Comma-separated expression for margins around the finder. br . br .]' \
		'--info[Determines the display style of finder info.]' \
		'--no-info[A synonym for --info=hidden.]' \
		'--prompt[Input prompt (default: '"'"'> '"'"').]' \
		'--pointer[Pointer to the current line (default: '"'"'>'"'"').]' \
		'--marker[Multi-select marker (default: '"'"'>'"'"').]' \
		'--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.]' \
		'--ansi[Enable processing of ANSI color codes.]' \
		'--tabstop[Number of spaces for a tab character (default: 8).]' \
		'--color[Color configuration.]' \
		'--no-bold[Do not use bold text.]' \
		'--black[Use black background . SS History.]' \
		'--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).]' \
		'--preview[Execute the given command for the current line and display the result on the …]' \
		'--preview-window[RS POSITION: (default: right) up down left right .]' \
		{-q,--query}'[Start the finder with the given query.]' \
		{-1,--select-1}'[Automatically select the only match.]' \
		{-0,--exit-0}'[Exit immediately when there'"'"'s no match.]' \
		{-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 …]' \
		'--read0[Read input delimited by ASCII NUL characters instead of newline characters.]' \
		'--print0[Print output delimited by ASCII NUL characters instead of newline characters.]' \
		'--no-clear[Do not clear finder interface on exit.]' \
		'--sync[Synchronous search for multi-staged filtering.]' \
		'--version[Display version information and exit.]' \
		'-2[.]'