Skip to content

0.25.0

Compare
Choose a tag to compare
@junegunn junegunn released this 02 Jan 19:10
· 805 commits to master since this release
0.25.0
8c533e3
  • 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

    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

    fzf --bind alt-,:first,alt-.:last