fzf(1)                 fzf - a command-line fuzzy finder                fzf(1)



NNAAMMEE
       fzf - a command-line fuzzy finder


SSYYNNOOPPSSIISS
       fzf [options]


DDEESSCCRRIIPPTTIIOONN
       fzf is a general-purpose command-line fuzzy finder.


OOPPTTIIOONNSS
   SSeeaarrcchh mmooddee
       --xx,, ----eexxtteennddeedd
              Extended-search  mode. Since 0.10.9, this is enabled by default.
              You can disable it with ++xx or ----nnoo--eexxtteennddeedd.

       --ee,, ----eexxaacctt
              Enable exact-match

       --ii     Case-insensitive match (default: smart-case match)

       ++ii     Case-sensitive match

       ----lliitteerraall
              Do not normalize latin script letters for matching.

       ----aallggoo==_T_Y_P_E
              Fuzzy matching algorithm (default: v2)

              vv22     Optimal scoring algorithm (quality)
              vv11     Faster but not guaranteed  to  find  the  optimal  result
              (performance)


       --nn,, ----nntthh==_N_[_,_._._]
              Comma-separated  list  of  field  index expressions for limiting
              search scope.  See FFIIEELLDD IINNDDEEXX EEXXPPRREESSSSIIOONN for the details.

       ----wwiitthh--nntthh==_N_[_,_._._]
              Transform the  presentation  of  each  line  using  field  index
              expressions

       --dd,, ----ddeelliimmiitteerr==_S_T_R
              Field  delimiter  regex  for ----nntthh and ----wwiitthh--nntthh (default: AWK-
              style)

       ----ddiissaabblleedd
              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 eennaabbllee--sseeaarrcchh or ttooggggllee--sseeaarrcchh action.

   SSeeaarrcchh rreessuulltt
       ++ss,, ----nnoo--ssoorrtt
              Do not sort the result

       ----ttaacc  Reverse the order of the input

              e.g.
                   hhiissttoorryy || ffzzff ----ttaacc ----nnoo--ssoorrtt

       ----ttiieebbrreeaakk==_C_R_I_[_,_._._]
              Comma-separated list of sort criteria to apply when  the  scores
              are tied.

              lleennggtthh  Prefers line with shorter length
              bbeeggiinn   Prefers line with matched substring closer to the begin‐
              ning
              eenndd     Prefers line with matched substring closer to the end
              iinnddeexx   Prefers line that appeared earlier in the input stream

              - Each criterion should appear only once in the list
              - iinnddeexx is only allowed at the end of the list
              - iinnddeexx is implicitly appended to the list when not specified
              - Default is lleennggtthh (or equivalently lleennggtthh,index)
              - If eenndd is found in the list, fzf will scan each line backwards

   IInntteerrffaaccee
       --mm,, ----mmuullttii
              Enable multi-select with tab/shift-tab. It optionally  takes  an
              integer  argument which denotes the maximum number of items that
              can be selected.

       ++mm,, ----nnoo--mmuullttii
              Disable multi-select

       ----nnoo--mmoouussee
              Disable mouse

       ----bbiinndd==_K_E_Y_B_I_N_D_S
              Comma-separated list of custom key bindings. See KKEEYY//EEVVEENNTT BBIINNDD‐‐
              IINNGGSS for the details.

       ----ccyyccllee
              Enable cyclic scroll

       ----kkeeeepp--rriigghhtt
              Keep  the  right  end  of  the  line visible when it's too long.
              Effective only when the query string is empty.

       ----ssccrroollll--ooffff==_L_I_N_E_S
              Number of screen lines to keep above or below when scrolling  to
              the top or to the bottom (default: 0).

       ----nnoo--hhssccrroollll
              Disable horizontal scroll

       ----hhssccrroollll--ooffff==_C_O_L_S
              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.

       ----ffiilleeppaatthh--wwoorrdd
              Make  word-wise  movements  and actions respect path separators.
              The following actions are affected:

              bbaacckkwwaarrdd--kkiillll--wwoorrdd
              bbaacckkwwaarrdd--wwoorrdd
              ffoorrwwaarrdd--wwoorrdd
              kkiillll--wwoorrdd

       ----jjuummpp--llaabbeellss==_C_H_A_R_S
              Label characters for jjuummpp and jjuummpp--aacccceepptt

   LLaayyoouutt
       ----hheeiigghhtt==_H_E_I_G_H_T_[_%_]
              Display fzf window  below  the  cursor  with  the  given  height
              instead of using the full screen.

       ----mmiinn--hheeiigghhtt==_H_E_I_G_H_T
              Minimum  height when ----hheeiigghhtt is given in percent (default: 10).
              Ignored when ----hheeiigghhtt is not specified.

       ----llaayyoouutt==_L_A_Y_O_U_T
              Choose the layout (default: default)

              ddeeffaauulltt       Display from the bottom of the screen
              rreevveerrssee       Display from the top of the screen
              rreevveerrssee--lliisstt  Display from the top of the screen, prompt at  the
              bottom


       ----rreevveerrssee
              A synonym for ----llaayyoouutt==rreevveerrssee


       ----bboorrddeerr_[_=_S_T_Y_L_E_]
              Draw border around the finder

              rroouunnddeedd     Border with rounded corners (default)
              sshhaarrpp       Border with sharp corners
              hhoorriizzoonnttaall  Horizontal lines above and below the finder
              vveerrttiiccaall    Vertical lines on each side of the finder
              ttoopp
              bboottttoomm
              lleefftt
              rriigghhtt
              nnoonnee


       ----nnoo--uunniiccooddee
              Use  ASCII  characters instead of Unicode box drawing characters
              to draw border


       ----mmaarrggiinn==_M_A_R_G_I_N
              Comma-separated expression for margins around the finder.

              TTRRBBLL     Same margin for top, right, bottom, and left
              TTBB,,RRLL    Vertical, horizontal margin
              TT,,RRLL,,BB   Top, horizontal, bottom margin
              TT,,RR,,BB,,LL  Top, right, bottom, left margin

              Each part can be given in absolute number or in percentage rela‐
              tive to the terminal size with %% suffix.

              e.g.
                   ffzzff ----mmaarrggiinn 1100%%
                   ffzzff ----mmaarrggiinn 11,,55%%

       ----ppaaddddiinngg==_P_A_D_D_I_N_G
              Comma-separated  expression  for padding inside the border. Pad‐
              ding is distinguishable from margin only when ----bboorrddeerr option is
              used.

              e.g.
                   ffzzff ----mmaarrggiinn 55%% ----ppaaddddiinngg 55%% ----bboorrddeerr ----pprreevviieeww ''ccaatt {{}}'' \\
                       ----ccoolloorr bbgg::##222222222222,,pprreevviieeww--bbgg::##333333333333

              TTRRBBLL     Same padding for top, right, bottom, and left
              TTBB,,RRLL    Vertical, horizontal padding
              TT,,RRLL,,BB   Top, horizontal, bottom padding
              TT,,RR,,BB,,LL  Top, right, bottom, left padding


       ----iinnffoo==_S_T_Y_L_E
              Determines the display style of finder info.

              ddeeffaauulltt       Display on the next line to the prompt
              iinnlliinnee        Display on the same line
              hhiiddddeenn        Do not display finder info


       ----nnoo--iinnffoo
              A synonym for ----iinnffoo==hhiiddddeenn


       ----pprroommpptt==_S_T_R
              Input prompt (default: '> ')

       ----ppooiinntteerr==_S_T_R
              Pointer to the current line (default: '>')

       ----mmaarrkkeerr==_S_T_R
              Multi-select marker (default: '>')

       ----hheeaaddeerr==_S_T_R
              The given string will be printed as the sticky header. The lines
              are displayed in the given order from top to  bottom  regardless
              of  ----llaayyoouutt  option,  and  are not affected by ----wwiitthh--nntthh. ANSI
              color codes are processed even when ----aannssii is not set.

       ----hheeaaddeerr--lliinneess==_N
              The first N lines of the input are treated as the sticky header.
              When  ----wwiitthh--nntthh is set, the lines are transformed just like the
              other lines that follow.

       ----hheeaaddeerr--ffiirrsstt
              Print header before the prompt line

       ----eelllliippssiiss==_S_T_R
              Ellipsis to show when line is truncated (default: '..')

   DDiissppllaayy
       ----aannssii Enable processing of ANSI color codes

       ----ttaabbssttoopp==_S_P_A_C_E_S
              Number of spaces for a tab character (default: 8)

       ----ccoolloorr==_[_B_A_S_E___S_C_H_E_M_E_]_[_,_C_O_L_O_R___N_A_M_E_[_:_A_N_S_I___C_O_L_O_R_]_[_:_A_N_S_I___A_T_T_R_I_B_U_T_E_S_]_]_._._.
              Color configuration. The name of the base color scheme  is  fol‐
              lowed by custom color mappings.

              BBAASSEE SSCCHHEEMMEE::
                  (default: dark on 256-color terminal, otherwise 16)

                  ddaarrkk    Color scheme for dark 256-color terminal
                  lliigghhtt   Color scheme for light 256-color terminal
                  1166      Color scheme for 16-color terminal
                  bbww      No colors (equivalent to ----nnoo--ccoolloorr)

              CCOOLLOORR NNAAMMEESS::
                  ffgg         Text
                  bbgg         Background
                  pprreevviieeww--ffgg Preview window text
                  pprreevviieeww--bbgg Preview window background
                  hhll         Highlighted substrings
                  ffgg++        Text (current line)
                  bbgg++        Background (current line)
                  gguutttteerr     Gutter on the left (defaults to bbgg++)
                  hhll++        Highlighted substrings (current line)
                  qquueerryy      Query string
                  ddiissaabblleedd   Query string when search is disabled
                  iinnffoo       Info line (match counters)
                  bboorrddeerr     Border around the window (----bboorrddeerr and ----pprreevviieeww)
                  pprroommpptt     Prompt
                  ppooiinntteerr    Pointer to the current line
                  mmaarrkkeerr     Multi-select marker
                  ssppiinnnneerr    Streaming input indicator
                  hheeaaddeerr     Header

              AANNSSII CCOOLLOORRSS::
                  --11         Default terminal foreground/background color
                             (or the original color of the text)
                  00 ~~ 1155     16 base colors
                    bbllaacckk
                    rreedd
                    ggrreeeenn
                    yyeellllooww
                    bblluuee
                    mmaaggeennttaa
                    ccyyaann
                    wwhhiittee
                    bbrriigghhtt--bbllaacckk (gray | grey)
                    bbrriigghhtt--rreedd
                    bbrriigghhtt--ggrreeeenn
                    bbrriigghhtt--yyeellllooww
                    bbrriigghhtt--bblluuee
                    bbrriigghhtt--mmaaggeennttaa
                    bbrriigghhtt--ccyyaann
                    bbrriigghhtt--wwhhiittee
                  1166 ~~ 225555   ANSI 256 colors
                  ##rrrrggggbbbb    24-bit colors

              AANNSSII AATTTTRRIIBBUUTTEESS:: ((OOnnllyy aapppplliieess ttoo ffoorreeggrroouunndd ccoolloorrss))
                  rreegguullaarr     Clears previously set attributes; should precede
              the other ones
                  bboolldd
                  uunnddeerrlliinnee
                  rreevveerrssee
                  ddiimm
                  iittaalliicc

              EEXXAAMMPPLLEESS::

                   ## SSeeoouull225566 tthheemmee wwiitthh 88--bbiitt ccoolloorrss
                   ## ((hhttttppss::////ggiitthhuubb..ccoomm//jjuunneegguunnnn//sseeoouull225566..vviimm))
                   ffzzff       ----ccoolloorr==''bbgg::223377,,bbgg++::223366,,iinnffoo::114433,,bboorrddeerr::224400,,ssppiinn‐‐
              nneerr::110088'' \\
                       ----ccoolloorr==''hhll::6655,,ffgg::225522,,hheeaaddeerr::6655,,ffgg++::225522'' \\
                       ----ccoolloorr==''ppooiinntteerr::116611,,mmaarrkkeerr::116688,,pprroommpptt::111100,,hhll++::110088''

                   ## SSeeoouull225566 tthheemmee wwiitthh 2244--bbiitt ccoolloorrss
                   ffzzff       ----ccoolloorr==''bbgg::##44BB44BB44BB,,bbgg++::##33FF33FF33FF,,iinnffoo::##BBDDBBBB7722,,bboorr‐‐
              ddeerr::##66BB66BB66BB,,ssppiinnnneerr::##9988BBCC9999'' \\
                       ----ccoolloorr==''hhll::##771199887722,,ffgg::##DD99DD99DD99,,hheeaaddeerr::##771199887722,,ffgg++::##DD99DD99DD99''
              \\
                       ----ccoolloorr==''ppooiinntteerr::##EE1122667722,,mmaarrkkeerr::##EE1177889999,,pprroommpptt::##9988BBEEDDEE,,hhll++::##9988BBCC9999''

       ----nnoo--bboolldd
              Do not use bold text

       ----bbllaacckk
              Use black background

   HHiissttoorryy
       ----hhiissttoorryy==_H_I_S_T_O_R_Y___F_I_L_E
              Load search history from the specified file and update the  file
              on  completion.   When  enabled, CCTTRRLL--NN and CCTTRRLL--PP are automati‐
              cally remapped to nneexxtt--hhiissttoorryy and pprreevviioouuss--hhiissttoorryy.

       ----hhiissttoorryy--ssiizzee==_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.

   PPrreevviieeww
       ----pprreevviieeww==_C_O_M_M_A_N_D
              Execute the given command for the current line and  display  the
              result  on  the  preview window. {{}} in the command is the place‐
              holder that is replaced to the single-quoted string of the  cur‐
              rent  line.  To  transform the replacement string, specify field
              index expressions between the braces (See FFIIEELLDD IINNDDEEXX EEXXPPRREESSSSIIOONN
              for the details).

              e.g.
                   ffzzff ----pprreevviieeww==''hheeaadd --$$LLIINNEESS {{}}''
                   llss  --ll  ||  ffzzff  ----pprreevviieeww==""eecchhoo uusseerr=={{33}} wwhheenn=={{--44....--22}};; ccaatt
              {{--11}}"" ----hheeaaddeerr--lliinneess==11

              fzf exports $$FFZZFF__PPRREEVVIIEEWW__LLIINNEESS and $$FFZZFF__PPRREEVVIIEEWW__CCOOLLUUMMNNSS so  that
              they  represent  the  exact size of the preview window. (It also
              overrides $$LLIINNEESS and $$CCOOLLUUMMNNSS with the same values but they  can
              be  reset  by  the default shell, so prefer to refer to the ones
              with FFZZFF__PPRREEVVIIEEWW__ prefix.)

              A placeholder expression starting with ++ flag will  be  replaced
              to  the  space-separated list of the selected lines (or the cur‐
              rent line if no selection was made) individually quoted.

              e.g.
                   ffzzff ----mmuullttii ----pprreevviieeww==''hheeaadd --1100 {{++}}''
                   ggiitt lloogg ----oonneelliinnee || ffzzff ----mmuullttii ----pprreevviieeww ''ggiitt sshhooww {{++11}}''

              When using a field index expression, leading and trailing white‐
              space  is  stripped from the replacement string. To preserve the
              whitespace, use the ss flag.

              Also, {{qq}} is replaced to the current query string,  and  {{nn}}  is
              replaced  to  zero-based  ordinal index of the line. Use {{++nn}} if
              you want all index numbers when multiple lines are selected.

              A placeholder expression with f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 the length  of
              the evaluated string may exceed AARRGG__MMAAXX.

              e.g.
                   ##  PPrreessss CCTTRRLL--AA ttoo sseelleecctt 110000KK iitteemmss aanndd sseeee tthhee ssuumm ooff aallll
              tthhee nnuummbbeerrss..
                   ## TThhiiss wwoonn''tt wwoorrkk pprrooppeerrllyy wwiitthhoouutt ''ff'' ffllaagg dduuee ttoo  AARRGG__MMAAXX
              lliimmiitt..
                   sseeqq 110000000000 || ffzzff ----mmuullttii ----bbiinndd ccttrrll--aa::sseelleecctt--aallll \\
                                    ----pprreevviieeww  ""aawwkk  ''{{ssuumm++==}} EENNDD {{pprriinntt ssuumm}}''
              {{++ff}}""

              Note that you can escape a placeholder pattern by  prepending  a
              backslash.

              Preview  window  will be updated even when there is no match for
              the current query if any of the placeholder  expressions  evalu‐
              ates to a non-empty string.

              Since  0.24.0, fzf can render partial preview content before the
              preview command completes. ANSI escape sequence for clearing the
              display  (CCSSII  22 JJ) is supported, so you can use it to implement
              preview window that is constantly updating.

              e.g.
                    ffzzff ----pprreevviieeww ''ffoorr ii iinn $$((sseeqq 110000000000));; ddoo
                      (((( ii %% 220000 ==== 00 )))) &&&& pprriinnttff ""\\003333[[22JJ""
                      eecchhoo ""$$ii""
                      sslleeeepp 00..0011
                    ddoonnee''

       ----pprreevviieeww--wwiinnddooww==_[_P_O_S_I_T_I_O_N_]_[_,_S_I_Z_E_[_%_]_]_[_,_b_o_r_d_e_r_-_B_O_R_‐
       _D_E_R___O_P_T_]_[_,_[_n_o_]_w_r_a_p_]_[_,_[_n_o_]_f_o_l_l_o_w_]_[_,_[_n_o_]_c_y_c_l_e_]_[_,_[_n_o_]_h_i_d_d_e_n_]_[_,_+_S_C_R_O_L_L_[_O_F_F_‐
       _S_E_T_S_]_[_/_D_E_N_O_M_]_]_[_,_~_H_E_A_D_E_R___L_I_N_E_S_]_[_,_d_e_f_a_u_l_t_]

              PPOOSSIITTIIOONN:: ((ddeeffaauulltt:: rriigghhtt))
                  uupp
                  ddoowwnn
                  lleefftt
                  rriigghhtt

              Determines the layout of the preview window.

              * If the argument contains ::hhiiddddeenn, the preview window  will  be
              hidden by default until ttooggggllee--pprreevviieeww action is triggered.

              * If size is given as 0, preview window will not be visible, but
              fzf will still execute the command in the background.

              * Long lines are truncated by default. Line wrap can be  enabled
              with ::wwrraapp flag.

              *  Preview  window  will automatically scroll to the bottom when
              ::ffoollllooww flag is set, similarly to how ttaaiill --ff works.

                     e.g.
                           ffzzff ----pprreevviieeww--wwiinnddooww ffoollllooww  ----pprreevviieeww  ''ffoorr  ii  iinn
                     $$((sseeqq 110000000000));; ddoo
                             eecchhoo ""$$ii""
                             sslleeeepp 00..0011
                             (((( ii %% 330000 ==== 00 )))) &&&& pprriinnttff ""\\003333[[22JJ""
                           ddoonnee''

              * Cyclic scrolling is enabled with ::ccyyccllee flag.

              * To change the style of the border of the preview window, spec‐
              ify one of the options for ----bboorrddeerr with bboorrddeerr--  prefix.   e.g.
              bboorrddeerr--rroouunnddeedd  (border  with  rounded  edges, default), bboorrddeerr--
              sshhaarrpp (border with sharp edges), bboorrddeerr--lleefftt, bboorrddeerr--nnoonnee, etc.

              * [[::++SSCCRROOLLLL[[OOFFFFSSEETTSS]][[//DDEENNOOMM]]]] determines the initial scroll off‐
              set of the preview window.

                -  SSCCRROOLLLL  can  be  either a numeric integer or a single-field
              index expression that refers to a numeric integer.

                - The optional OOFFFFSSEETTSS part is for adjusting the base  offset.
              It  should  be given as a series of signed integers (--IINNTTEEGGEERR or
              ++IINNTTEEGGEERR).

                - The final //DDEENNOOMM part is for specifying a  fraction  of  the
              preview window height.

              *  ~~HHEEAADDEERR__LLIINNEESS  keeps  the  top N lines as the fixed header so
              that they are always visible.

              * ddeeffaauulltt resets all options previously set to the default.

                     e.g.
                          ## NNoonn--ddeeffaauulltt ssccrroollll wwiinnddooww ppoossiittiioonnss aanndd ssiizzeess
                          ffzzff ----pprreevviieeww==""hheeaadd {{}}"" ----pprreevviieeww--wwiinnddooww==uupp,,3300%%
                          ffzzff ----pprreevviieeww==""ffiillee {{}}"" ----pprreevviieeww--wwiinnddooww==ddoowwnn,,11

                          ## IInniittiiaall ssccrroollll ooffffsseett iiss sseett ttoo tthhee lliinnee nnuummbbeerr ooff
                     eeaacchh lliinnee ooff
                          ## ggiitt ggrreepp oouuttppuutt **mmiinnuuss** 55 lliinneess ((--55))
                          ggiitt ggrreepp ----lliinnee--nnuummbbeerr '''' ||
                            ffzzff  ----ddeelliimmiitteerr  ::  ----pprreevviieeww ''nnll {{11}}'' ----pprreevviieeww--
                     wwiinnddooww ''++{{22}}--55''

                          ## PPrreevviieeww wwiitthh bbaatt,, mmaattcchhiinngg lliinnee iinn tthhee  mmiiddddllee  ooff
                     tthhee wwiinnddooww bbeellooww
                          ## tthhee ffiixxeedd hheeaaddeerr ooff tthhee ttoopp 33 lliinneess
                          ##
                          ##   ~~33    TToopp 33 lliinneess aass tthhee ffiixxeedd hheeaaddeerr
                          ##   ++{{22}}  BBaassee ssccrroollll ooffffsseett eexxttrraacctteedd ffrroomm tthhee sseecc‐‐
                     oonndd ffiieelldd
                          ##   ++33    EExxttrraa ooffffsseett ttoo ccoommppeennssaattee ffoorr tthhee  33--lliinnee
                     hheeaaddeerr
                          ##   //22    PPuutt iinn tthhee mmiiddddllee ooff tthhee pprreevviieeww aarreeaa
                          ##
                          ggiitt ggrreepp ----lliinnee--nnuummbbeerr '''' ||
                            ffzzff ----ddeelliimmiitteerr :: \\
                                ----pprreevviieeww   ''bbaatt  ----ssttyyllee==ffuullll  ----ccoolloorr==aallwwaayyss
                     ----hhiigghhlliigghhtt--lliinnee {{22}} {{11}}'' \\
                                ----pprreevviieeww--wwiinnddooww ''~~33,,++{{22}}++33//22''

                          ## DDiissppllaayy ttoopp 33 lliinneess aass tthhee ffiixxeedd hheeaaddeerr
                          ffzzff ----pprreevviieeww ''bbaatt ----ssttyyllee==ffuullll  ----ccoolloorr==aallwwaayyss  {{}}''
                     ----pprreevviieeww--wwiinnddooww ''~~33''


   SSccrriippttiinngg
       --qq,, ----qquueerryy==_S_T_R
              Start the finder with the given query

       --11,, ----sseelleecctt--11
              If  there  is only one match for the initial query (----qquueerryy), do
              not start interactive finder and automatically select  the  only
              match

       --00,, ----eexxiitt--00
              If  there  is  no  match for the initial query (----qquueerryy), do not
              start interactive finder and exit immediately

       --ff,, ----ffiilltteerr==_S_T_R
              Filter mode. Do not start interactive  finder.  When  used  with
              ----nnoo--ssoorrtt, fzf becomes a fuzzy-version of grep.

       ----pprriinntt--qquueerryy
              Print query as the first line

       ----eexxppeecctt==_K_E_Y_[_,_._._]
              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 first line of its
              output (or as the second line if ----pprriinntt--qquueerryy  is  also  used).
              The  line  will  be  empty  if fzf is completed with the default
              enter key. If ----eexxppeecctt option is specified multiple  times,  fzf
              will  expect  the  union of the keys. ----nnoo--eexxppeecctt will clear the
              list.

              e.g.
                   ffzzff ----eexxppeecctt==ccttrrll--vv,,ccttrrll--tt,,aalltt--ss ----eexxppeecctt==ff11,,ff22,,~~,,@@

       ----rreeaadd00
              Read input delimited by ASCII NUL characters instead of  newline
              characters

       ----pprriinntt00
              Print  output  delimited by ASCII NUL characters instead of new‐
              line characters

       ----nnoo--cclleeaarr
              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  ttppuutt  rrmmccuupp  to  return.
              This  option  can be used to avoid flickering of the screen when
              your application needs to start fzf multiple times in order.

       ----ssyynncc Synchronous search for multi-staged filtering. If specified, fzf
              will  launch  ncurses finder only after the input stream is com‐
              plete.

              e.g. ffzzff ----mmuullttii || ffzzff ----ssyynncc

       ----vveerrssiioonn
              Display version information and exit


       Note that most options have the opposite versions with ----nnoo-- prefix.


EENNVVIIRROONNMMEENNTT VVAARRIIAABBLLEESS
       FFZZFF__DDEEFFAAUULLTT__CCOOMMMMAANNDD
              Default command to use when input is tty. On *nix  systems,  fzf
              runs  the command with $$SSHHEELLLL --cc if SSHHEELLLL is set, otherwise with
              sshh --cc, so in this case make sure that the command is  POSIX-com‐
              pliant.

       FFZZFF__DDEEFFAAUULLTT__OOPPTTSS
              Default   options.   e.g.   eexxppoorrtt  FFZZFF__DDEEFFAAUULLTT__OOPPTTSS==""----eexxtteennddeedd
              ----ccyyccllee""


EEXXIITT SSTTAATTUUSS
       00      Normal exit
       11      No match
       22      Error
       113300    Interrupted with CCTTRRLL--CC or EESSCC


FFIIEELLDD IINNDDEEXX EEXXPPRREESSSSIIOONN
       A field index expression can be a non-zero integer or a  range  expres‐
       sion ([BEGIN]..[END]). ----nntthh and ----wwiitthh--nntthh take a comma-separated list
       of field index expressions.


   EExxaammpplleess
       11      The 1st field
       22      The 2nd field
       --11     The last field
       --22     The 2nd to last field
       33....55   From the 3rd field to the 5th field
       22....    From the 2nd field to the last field
       ....--33   From the 1st field to the 3rd to the last field
       ....     All the fields


EEXXTTEENNDDEEDD SSEEAARRCCHH MMOODDEE
       Unless specified otherwise, fzf will start in  "extended-search  mode".
       In  this  mode,  you can specify multiple patterns delimited by spaces,
       such as: ''wwiilldd ^^mmuussiicc ..mmpp33$$ ssbbttrrkktt !!rrmmxx

       You can prepend a backslash to a space (\\ ) to match  a  literal  space
       character.


   EExxaacctt--mmaattcchh ((qquuootteedd))
       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.


   AAnncchhoorreedd--mmaattcchh
       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 is also an exact-match
       term.


   NNeeggaattiioonn
       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.


   EExxaacctt--mmaattcchh bbyy ddeeffaauulltt
       If you don't prefer fuzzy matching and do not wish to "quote"  (prefix‐
       ing  with '') every word, start fzf with --ee or ----eexxaacctt option. Note that
       when ----eexxaacctt is set, ''-prefix "unquotes" the term.


   OORR ooppeerraattoorr
       A single bar character term acts as an OR operator.  For  example,  the
       following  query  matches  entries  that  start  with ccoorree and end with
       either ggoo, rrbb, or ppyy.

       e.g. ^^ccoorree ggoo$$ || rrbb$$ || ppyy$$


KKEEYY//EEVVEENNTT BBIINNDDIINNGGSS
       ----bbiinndd option allows you to bind aa kkeeyy or  aann  eevveenntt  to  one  or  more
       aaccttiioonnss.  You can use it to customize key bindings or implement dynamic
       behaviors.

       ----bbiinndd takes a comma-separated list of binding expressions. Each  bind‐
       ing expression is KKEEYY::AACCTTIIOONN or EEVVEENNTT::AACCTTIIOONN.

       e.g.
            ffzzff ----bbiinndd==ccttrrll--jj::aacccceepptt,,ccttrrll--kk::kkiillll--lliinnee


   AAVVAAIILLAABBLLEE KKEEYYSS:: ((SSYYNNOONNYYMMSS))
       _c_t_r_l_-_[_a_-_z_]
       _c_t_r_l_-_s_p_a_c_e
       _c_t_r_l_-_\
       _c_t_r_l_-_]
       _c_t_r_l_-_^      (_c_t_r_l_-_6)
       _c_t_r_l_-_/      (_c_t_r_l_-__)
       _c_t_r_l_-_a_l_t_-_[_a_-_z_]
       _a_l_t_-_[_*_]     (Any case-sensitive single character is allowed)
       _f_[_1_-_1_2_]
       _e_n_t_e_r       (_r_e_t_u_r_n _c_t_r_l_-_m)
       _s_p_a_c_e
       _b_s_p_a_c_e      (_b_s)
       _a_l_t_-_u_p
       _a_l_t_-_d_o_w_n
       _a_l_t_-_l_e_f_t
       _a_l_t_-_r_i_g_h_t
       _a_l_t_-_e_n_t_e_r
       _a_l_t_-_s_p_a_c_e
       _a_l_t_-_b_s_p_a_c_e  (_a_l_t_-_b_s)
       _t_a_b
       _b_t_a_b        (_s_h_i_f_t_-_t_a_b)
       _e_s_c
       _d_e_l
       _u_p
       _d_o_w_n
       _l_e_f_t
       _r_i_g_h_t
       _h_o_m_e
       _e_n_d
       _i_n_s_e_r_t
       _p_g_u_p        (_p_a_g_e_-_u_p)
       _p_g_d_n        (_p_a_g_e_-_d_o_w_n)
       _s_h_i_f_t_-_u_p
       _s_h_i_f_t_-_d_o_w_n
       _s_h_i_f_t_-_l_e_f_t
       _s_h_i_f_t_-_r_i_g_h_t
       _a_l_t_-_s_h_i_f_t_-_u_p
       _a_l_t_-_s_h_i_f_t_-_d_o_w_n
       _a_l_t_-_s_h_i_f_t_-_l_e_f_t
       _a_l_t_-_s_h_i_f_t_-_r_i_g_h_t
       _l_e_f_t_-_c_l_i_c_k
       _r_i_g_h_t_-_c_l_i_c_k
       _d_o_u_b_l_e_-_c_l_i_c_k
       or any single character


   AAVVAAIILLAABBLLEE EEVVEENNTTSS::
       _c_h_a_n_g_e
              Triggered whenever the query string is changed

              e.g.
                   ##  MMoovvee  ccuurrssoorr  ttoo  tthhee  ffiirrsstt eennttrryy wwhheenneevveerr tthhee qquueerryy iiss
              cchhaannggeedd
                   ffzzff ----bbiinndd cchhaannggee::ffiirrsstt

       _b_a_c_k_w_a_r_d_-_e_o_f
              Triggered when the query string is already empty and you try  to
              delete it backward.

              e.g.
                   ffzzff ----bbiinndd bbaacckkwwaarrdd--eeooff::aabboorrtt


   AAVVAAIILLAABBLLEE AACCTTIIOONNSS::
       A key or an event can be bound to one or more of the following actions.

         AACCTTIIOONN::                   DDEEFFAAUULLTT BBIINNDDIINNGGSS ((NNOOTTEESS))::
           aabboorrtt                      _c_t_r_l_-_c  _c_t_r_l_-_g  _c_t_r_l_-_q  _e_s_c
           aacccceepptt                     _e_n_t_e_r   _d_o_u_b_l_e_-_c_l_i_c_k
           aacccceepptt--nnoonn--eemmppttyy            (same as aacccceepptt except that it prevents
       fzf from exiting without selection)
           bbaacckkwwaarrdd--cchhaarr              _c_t_r_l_-_b  _l_e_f_t
           bbaacckkwwaarrdd--ddeelleettee--cchhaarr       _c_t_r_l_-_h  _b_s_p_a_c_e
           bbaacckkwwaarrdd--ddeelleettee--cchhaarr//eeooff    (same  as  bbaacckkwwaarrdd--ddeelleettee--cchhaarr  except
       aborts fzf if query is empty)
           bbaacckkwwaarrdd--kkiillll--wwoorrdd         _a_l_t_-_b_s
           bbaacckkwwaarrdd--wwoorrdd              _a_l_t_-_b   _s_h_i_f_t_-_l_e_f_t
           bbeeggiinnnniinngg--ooff--lliinnee          _c_t_r_l_-_a  _h_o_m_e
           ccaanncceell                      (clear query string if not empty, abort
       fzf otherwise)
           cchhaannggee--pprreevviieeww((......))        (change ----pprreevviieeww option)
           cchhaannggee--pprreevviieeww--wwiinnddooww((......)) (change ----pprreevviieeww--wwiinnddooww option;  rotate
       through the multiple option sets separated by '|')
           cchhaannggee--pprroommpptt((......))         (change prompt to the given string)
           cclleeaarr--ssccrreeeenn               _c_t_r_l_-_l
           cclleeaarr--sseelleeccttiioonn            (clear multi-selection)
           cclloossee                      (close preview window if open, abort fzf
       otherwise)
           cclleeaarr--qquueerryy                (clear query string)
           ddeelleettee--cchhaarr                _d_e_l
           ddeelleettee--cchhaarr//eeooff             _c_t_r_l_-_d  (same  as  ddeelleettee--cchhaarr   except
       aborts fzf if query is empty)
           ddeesseelleecctt
           ddeesseelleecctt--aallll               (deselect all matches)
           ddiissaabbllee--sseeaarrcchh             (disable search functionality)
           ddoowwnn                       _c_t_r_l_-_j  _c_t_r_l_-_n  _d_o_w_n
           eennaabbllee--sseeaarrcchh              (enable search functionality)
           eenndd--ooff--lliinnee                _c_t_r_l_-_e  _e_n_d
           eexxeeccuuttee((......))               (see below for the details)
           eexxeeccuuttee--ssiilleenntt((......))        (see below for the details)
           ffiirrsstt                      (move to the first match)
           ffoorrwwaarrdd--cchhaarr               _c_t_r_l_-_f  _r_i_g_h_t
           ffoorrwwaarrdd--wwoorrdd               _a_l_t_-_f   _s_h_i_f_t_-_r_i_g_h_t
           iiggnnoorree
           jjuummpp                       (EasyMotion-like 2-keystroke movement)
           jjuummpp--aacccceepptt                (jump and accept)
           kkiillll--lliinnee
           kkiillll--wwoorrdd                  _a_l_t_-_d
           llaasstt                       (move to the last match)
           nneexxtt--hhiissttoorryy               (_c_t_r_l_-_n on ----hhiissttoorryy)
           ppaaggee--ddoowwnn                  _p_g_d_n
           ppaaggee--uupp                    _p_g_u_p
           hhaallff--ppaaggee--ddoowwnn
           hhaallff--ppaaggee--uupp
           pprreevviieeww((......))               (see below for the details)
           pprreevviieeww--ddoowwnn               _s_h_i_f_t_-_d_o_w_n
           pprreevviieeww--uupp                 _s_h_i_f_t_-_u_p
           pprreevviieeww--ppaaggee--ddoowwnn
           pprreevviieeww--ppaaggee--uupp
           pprreevviieeww--hhaallff--ppaaggee--ddoowwnn
           pprreevviieeww--hhaallff--ppaaggee--uupp
           pprreevviieeww--bboottttoomm
           pprreevviieeww--ttoopp
           pprreevviioouuss--hhiissttoorryy           (_c_t_r_l_-_p on ----hhiissttoorryy)
           pprriinntt--qquueerryy                (print query and exit)
           ppuutt                        (put the character to the prompt)
           rreeffrreesshh--pprreevviieeww
           rreebbiinndd((......))                (rebind bindings after uunnbbiinndd)
           rreellooaadd((......))                (see below for the details)
           rreeppllaaccee--qquueerryy               (replace  query string with the current
       selection)
           sseelleecctt
           sseelleecctt--aallll                 (select all matches)
           ttooggggllee                     (_r_i_g_h_t_-_c_l_i_c_k)
           ttooggggllee--aallll                 (toggle all matches)
           ttooggggllee++ddoowwnn                _c_t_r_l_-_i  _(_t_a_b_)
           ttooggggllee--iinn                  (----llaayyoouutt==rreevveerrssee** ?  ttooggggllee++uupp  :  ttoogg‐‐
       ggllee++ddoowwnn)
           ttooggggllee--oouutt                  (----llaayyoouutt==rreevveerrssee** ? ttooggggllee++ddoowwnn : ttoogg‐‐
       ggllee++uupp)
           ttooggggllee--pprreevviieeww
           ttooggggllee--pprreevviieeww--wwrraapp
           ttooggggllee--sseeaarrcchh              (toggle search functionality)
           ttooggggllee--ssoorrtt
           ttooggggllee++uupp                  _b_t_a_b    _(_s_h_i_f_t_-_t_a_b_)
           uunnbbiinndd((......))                (unbind bindings)
           uunniixx--lliinnee--ddiissccaarrdd          _c_t_r_l_-_u
           uunniixx--wwoorrdd--rruubboouutt           _c_t_r_l_-_w
           uupp                         _c_t_r_l_-_k  _c_t_r_l_-_p  _u_p
           yyaannkk                       _c_t_r_l_-_y


   AACCTTIIOONN CCOOMMPPOOSSIITTIIOONN
       Multiple actions can be chained using ++ separator.

       e.g.
            ffzzff ----mmuullttii ----bbiinndd ''ccttrrll--aa::sseelleecctt--aallll++aacccceepptt''
            ffzzff ----mmuullttii ----bbiinndd ''ccttrrll--aa::sseelleecctt--aallll'' ----bbiinndd ''ccttrrll--aa::++aacccceepptt''


   AACCTTIIOONN AARRGGUUMMEENNTT
       An action denoted with ((......)) suffix takes an argument.

       e.g.
            ffzzff ----bbiinndd ''ccttrrll--aa::cchhaannggee--pprroommpptt((NNeewwPPrroommpptt>> ))''
            ffzzff ----bbiinndd ''ccttrrll--vv::pprreevviieeww((ccaatt {{}}))'' ----pprreevviieeww--wwiinnddooww hhiiddddeenn

       If the argument contains parentheses, fzf may fail to parse the expres‐
       sion.  In that case, you can use any of the following alternative nota‐
       tions to avoid parse errors.

           aaccttiioonn--nnaammee[[......]]
           aaccttiioonn--nnaammee~~......~~
           aaccttiioonn--nnaammee!!......!!
           aaccttiioonn--nnaammee@@......@@
           aaccttiioonn--nnaammee##......##
           aaccttiioonn--nnaammee$$......$$
           aaccttiioonn--nnaammee%%......%%
           aaccttiioonn--nnaammee^^......^^
           aaccttiioonn--nnaammee&&......&&
           aaccttiioonn--nnaammee**......**
           aaccttiioonn--nnaammee;;......;;
           aaccttiioonn--nnaammee//......//
           aaccttiioonn--nnaammee||......||
           aaccttiioonn--nnaammee::......
              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  list  of
              key-action pairs.


   CCOOMMMMAANNDD EEXXEECCUUTTIIOONN
       With  eexxeeccuuttee((......))  action,  you can execute arbitrary commands without
       leaving fzf. For example, you can turn fzf into a simple  file  browser
       by binding eenntteerr key to lleessss command like follows.

           ffzzff ----bbiinndd ""eenntteerr::eexxeeccuuttee((lleessss {{}}))""

       You can use the same placeholder expressions as in ----pprreevviieeww.

       fzf switches to the alternate screen when executing a command. However,
       if the command is expected to complete quickly, and you are not  inter‐
       ested  in  its  output,  you  might want to use eexxeeccuuttee--ssiilleenntt instead,
       which silently executes the command without the  switching.  Note  that
       fzf will not be responsive until the command is complete. For asynchro‐
       nous execution, start  your  command  as  a  background  process  (i.e.
       appending &&).

       On  *nix  systems, fzf runs the command with $$SSHHEELLLL --cc if SSHHEELLLL is set,
       otherwise with sshh --cc, so in this case make sure  that  the  command  is
       POSIX-compliant.


   RREELLOOAADD IINNPPUUTT
       rreellooaadd((......)) action is used to dynamically update the input list without
       restarting fzf. It takes the same  command  template  with  placeholder
       expressions as eexxeeccuuttee((......)).

       See _h_t_t_p_s_:_/_/_g_i_t_h_u_b_._c_o_m_/_j_u_n_e_g_u_n_n_/_f_z_f_/_i_s_s_u_e_s_/_1_7_5_0 for more info.

       e.g.
            ## UUppddaattee tthhee lliisstt ooff pprroocceesssseess bbyy pprreessssiinngg CCTTRRLL--RR
            ppss --eeff || ffzzff ----bbiinndd ''ccttrrll--rr::rreellooaadd((ppss --eeff))'' ----hheeaaddeerr ''PPrreessss CCTTRRLL--RR
       ttoo rreellooaadd'' \\
                         ----hheeaaddeerr--lliinneess==11 ----llaayyoouutt==rreevveerrssee

            ## IInntteeggrraattiioonn wwiitthh rriippggrreepp
            RRGG__PPRREEFFIIXX==""rrgg ----ccoolluummnn ----lliinnee--nnuummbbeerr  ----nnoo--hheeaaddiinngg  ----ccoolloorr==aallwwaayyss
       ----ssmmaarrtt--ccaassee ""
            IINNIITTIIAALL__QQUUEERRYY==""ffoooobbaarr""
            FFZZFF__DDEEFFAAUULLTT__CCOOMMMMAANNDD==""$$RRGG__PPRREEFFIIXX ''$$IINNIITTIIAALL__QQUUEERRYY''"" \\
              ffzzff ----bbiinndd ""cchhaannggee::rreellooaadd::$$RRGG__PPRREEFFIIXX {{qq}} |||| ttrruuee"" \\
                  ----aannssii ----ddiissaabblleedd ----qquueerryy ""$$IINNIITTIIAALL__QQUUEERRYY""


   PPRREEVVIIEEWW BBIINNDDIINNGG
       With  pprreevviieeww((......))  action,  you can specify multiple different preview
       commands in addition to the default preview command given by  ----pprreevviieeww
       option.

       e.g.
            # Default preview command with an extra preview binding
            fzf --preview 'file {}' --bind '?:preview:cat {}'

            # A preview binding with no default preview command
            # (Preview window is initially empty)
            fzf --bind '?:preview:cat {}'

            #  Preview window hidden by default, it appears when you first hit
       '?'
            fzf --bind '?:preview:cat {}' --preview-window hidden


   CCHHAANNGGEE PPRREEVVIIEEWW WWIINNDDOOWW AATTTTRRIIBBUUTTEESS
       cchhaannggee--pprreevviieeww--wwiinnddooww action can be used to change  the  properties  of
       the preview window. Unlike the ----pprreevviieeww--wwiinnddooww option, you can specify
       multiple sets of options separated by '|' characters.

       e.g.
            # Rotate through the options using CTRL-/
            fzf  --preview   'cat   {}'   --bind   'ctrl-/:change-preview-win‐
       dow(right,70%|down,40%,border-horizontal|hidden|right)'

            #  The  default  properties given by `--preview-window` are inher‐
       ited, so an empty string in the list is interpreted as the default
            fzf --preview 'cat  {}'  --preview-window  'right,40%,border-left'
       --bind 'ctrl-/:change-preview-window(70%|down,border-top|hidden|)'

            # This is equivalent to toggle-preview action
            fzf  --preview  'cat {}' --bind 'ctrl-/:change-preview-window(hid‐
       den|)'


AAUUTTHHOORR
       Junegunn Choi (_j_u_n_e_g_u_n_n_._c_@_g_m_a_i_l_._c_o_m)


SSEEEE AALLSSOO
       PPrroojjeecctt hhoommeeppaaggee::
              _h_t_t_p_s_:_/_/_g_i_t_h_u_b_._c_o_m_/_j_u_n_e_g_u_n_n_/_f_z_f

       EExxttrraa VViimm pplluuggiinn::
              _h_t_t_p_s_:_/_/_g_i_t_h_u_b_._c_o_m_/_j_u_n_e_g_u_n_n_/_f_z_f_._v_i_m


LLIICCEENNSSEE
       MIT



fzf 0.30.0                         Apr 2022                             fzf(1)
