github junegunn/fzf 0.52.0

latest releases: v0.56.2, v0.56.1, v0.56.0...
6 months ago
  • Added --highlight-line to highlight the whole current line (à la set cursorline of Vim)
  • Added color names for selected lines: selected-fg, selected-bg, and selected-hl
    fzf --border --multi --info inline-right --layout reverse --marker ▏ --pointer ▌ --prompt ''  \
        --highlight-line --color gutter:-1,selected-bg:238,selected-fg:146,current-fg:189
    image
  • Added click-header event that is triggered when the header section is clicked. When the event is triggered, $FZF_CLICK_HEADER_COLUMN and $FZF_CLICK_HEADER_LINE are set.
    fd --type f |
      fzf --header $'[Files] [Directories]' --header-first \
          --bind 'click-header:transform:
            (( FZF_CLICK_HEADER_COLUMN <= 7 )) && echo "reload(fd --type f)"
            (( FZF_CLICK_HEADER_COLUMN >= 9 )) && echo "reload(fd --type d)"
          '
  • Added $FZF_COMPLETION_{DIR,PATH}_OPTS for separately customizing the behavior of directory and path completion
    # Set --walker options without 'follow' not to follow symbolic links
    FZF_COMPLETION_PATH_OPTS="--walker=file,dir,hidden"
    FZF_COMPLETION_DIR_OPTS="--walker=dir,hidden"
  • Fixed Windows argument escaping
  • Bug fixes and improvements
  • The code was heavily refactored to allow using fzf as a library in Go programs. The API is still experimental and subject to change.

Don't miss a new fzf release

NewReleases is sending notifications on new releases.