All Versions
90
Latest Version
Avg Release Cycle
76 days
Latest Release
-

Changelog History
Page 1

  • v0.29.0 Changes

    • āž• Added change-preview(...) action to change the --preview command
      • cf. preview(...) is a one-off action that doesn't change the default preview command
    • āž• Added change-preview-window(...) action
      • You can rotate through the different options separated by | sh fzf --preview 'cat {}' --bind 'ctrl-/:change-preview-window(right,70%|down,40%,border-horizontal|hidden|right)'
    • šŸ›  Fixed rendering of the prompt line when overflow occurs with --info=inline
  • v0.28.0 Changes

    • āž• Added --header-first option to print header before the prompt line sh fzf --header $'Welcome to fzf\nā–”ā–”ā–”ā–”ā–”ā–”ā–”ā–”ā–”ā–”ā–”ā–”ā–”ā–”' --reverse --height 30% --border --header-first
    • āž• Added --scroll-off=LINES option (similar to scrolloff option of Vim)
      • You can set it to a very large number so that the cursor stays in the middle of the screen while scrolling sh fzf --scroll-off=5 fzf --scroll-off=999
    • šŸ›  Fixed bug where preview window is not updated on reload (#2644)
    • šŸ fzf on Windows will also use $SHELL to execute external programs
      • See #2638 and #2647
      • Thanks to @rashil2000, @vovcacik, and @janlazo
  • v0.27.3 Changes

    • 0ļøāƒ£ Preview window is hidden by default when there are preview bindings but --preview command is not given
    • šŸ›  Fixed bug where {n} is not properly reset on reload
    • šŸ›  Fixed bug where spinner is not displayed on reload
    • āœØ Enhancements in tcell renderer for Windows (#2616)
    • šŸ”Œ Vim plugin

      • sinklist is added as a synonym to sink* so that it's easier to add a function to a spec dictionary ```vim let spec = { 'source': 'ls', 'options': ['--multi', '--preview', 'cat {}'] } function spec.sinklist(matches) echom string(a:matches) endfunction

      call fzf#run(fzf#wrap(spec))

      - Vim 7 compatibility
      
  • v0.27.2 Changes

    • 16 base ANSI colors can be specified by their names sh fzf --color fg:3,fg+:11 fzf --color fg:yellow,fg+:bright-yellow
    • šŸ›  Fix bug where --read0 not properly displaying long lines
  • v0.27.1 Changes

    • āž• Added unbind action. In the following Ripgrep launcher example, you can use unbind(reload) to switch to fzf-only filtering mode.
    • šŸ”Œ Vim plugin
      • Vim plugin will stop immediately even when the source command hasn't finished vim " fzf will read the stream file while allowing other processes to append to it call fzf#run({'source': 'cat /dev/null > /tmp/stream; tail -f /tmp/stream'})
      • It is now possible to open popup window relative to the currrent window vim let g:fzf_layout = { 'window': { 'width': 0.9, 'height': 0.6, 'relative': v:true, 'yoffset': 1.0 } }
  • v0.27.0 Changes

    • More border options for --preview-window sh fzf --preview 'cat {}' --preview-window border-left fzf --preview 'cat {}' --preview-window border-left --border horizontal fzf --preview 'cat {}' --preview-window top:border-bottom fzf --preview 'cat {}' --preview-window top:border-horizontal
    • Automatically set /dev/tty as STDIN on execute action ```sh # Redirect /dev/tty to suppress "Vim: Warning: Input is not from a terminal" # ls | fzf --bind "enter:execute(vim {} < /dev/tty)"

    # "< /dev/tty" part is no longer needed ls | fzf --bind "enter:execute(vim {})"

    - šŸ› Bug fixes and improvements
    - šŸŽ Signed and notarized macOS binaries
      (Huge thanks to [BACKERS.md](https://github.com/junegunn/junegunn/blob/main/BACKERS.md)!)
    
  • v0.26.0 Changes

    • āž• Added support for fixed header in preview window sh # Display top 3 lines as the fixed header fzf --preview 'bat --style=header,grid --color=always {}' --preview-window '~3'
    • šŸ›  More advanced preview offset expression to better support the fixed header sh # Preview with bat, matching line in the middle of the window below # the fixed header of the top 3 lines # # ~3 Top 3 lines as the fixed header # +{2} Base scroll offset extracted from the second field # +3 Extra offset to compensate for the 3-line header # /2 Put in the middle of the preview area # git grep --line-number '' | fzf --delimiter : \ --preview 'bat --style=full --color=always --highlight-line {2} {1}' \ --preview-window '~3:+{2}+3/2'
    • āž• Added select and deselect action for unconditionally selecting or deselecting a single item in --multi mode. Complements toggle action.
    • šŸŽ Significant performance improvement in ANSI code processing
    • šŸ› Bug fixes and improvements
    • Built with Go 1.16
  • v0.25.1 Changes

    • āž• Added close action
      • Close preview window if open, abort fzf otherwise
    • šŸ› Bug fixes and improvements
  • v0.25.0 Changes

    • šŸ‘€ Text attributes set in --color are not reset when fzf sees another --color option for the same element. This allows you to put custom text attributes in your $FZF_DEFAULT_OPTS and still have those attributes even when you override the colors.
      # Default colors and attributes
      fzf
    
      # Apply custom text attributes
      export FZF_DEFAULT_OPTS='--color fg+:italic,hl:-1:underline,hl+:-1:reverse:underline'
    
      fzf
    
      # Different colors but you still have the attributes
      fzf --color hl:176,hl+:177
    
      # Write "regular" if you want to clear the attributes
      fzf --color hl:176:regular,hl+:177:regular
    
    • šŸ“‡ Renamed --phony to --disabled
    • You can dynamically enable and disable the search functionality using the new enable-search, disable-search, and toggle-search actions
    • You can assign a different color to the query string for when search is disabled sh fzf --color query:#ffffff,disabled:#999999 --bind space:toggle-search
    • āž• Added last action to move the cursor to the last match
      • The opposite action top is renamed to first, but top is still recognized as a synonym for backward compatibility
    • āž• Added preview-top and preview-bottom actions
    • šŸ‘ Extended support for alt key chords: alt with any case-sensitive single character sh fzf --bind alt-,:first,alt-.:last
  • v0.24.5 Changes

    • šŸ‘€ Text attributes set in --color are not reset when fzf sees another --color option for the same element. This allows you to put custom text attributes in your $FZF_DEFAULT_OPTS and still have those attributes even when you override the colors.
      # Default colors and attributes
      fzf
    
      # Apply custom text attributes
      export FZF_DEFAULT_OPTS='--color fg+:italic,hl:-1:underline,hl+:-1:reverse:underline'
    
      fzf
    
      # Different colors but you still have the attributes
      fzf --color hl:176,hl+:177
    
      # Write "regular" if you want to clear the attributes
      fzf --color hl:176:regular,hl+:177:regular