Skip to content
This repository has been archived by the owner on Oct 27, 2020. It is now read-only.

Releases: junegunn/fzf-bin

0.23.1

10 Oct 17:06
0.23.1
bdacfbb
Compare
Choose a tag to compare

0.23.0

07 Oct 10:20
0.23.0
0edd7e8
Compare
Choose a tag to compare

0.22.0

02 Aug 07:04
323449d
Compare
Choose a tag to compare

0.21.1

03 Apr 08:36
ff6f811
Compare
Choose a tag to compare

0.21.0

12 Mar 04:28
df7cf11
Compare
Choose a tag to compare

0.20.0

17 Dec 16:19
4704515
Compare
Choose a tag to compare
  • Customizable preview window color (preview-fg and preview-bg for --color)

    • image
  • Removed the immediate flicking of the screen on reload action.

    : | fzf --bind 'change:reload:seq {q}' --phony
  • Added clear-query and clear-selection actions for --bind

  • It is now possible to split a composite bind action over multiple --bind expressions by prefixing the later ones with +.

    fzf --bind 'ctrl-a:up+up'
    
    # Can be now written as
    fzf --bind 'ctrl-a:up' --bind 'ctrl-a:+up'
    
    # This is useful when you need to write special execute/reload form (i.e. `execute:...`)
    # to avoid parse errors and add more actions to the same key
    fzf --multi --bind 'ctrl-l:select-all+execute:less {+f}' --bind 'ctrl-l:+deselect-all'
  • Fixed parse error of --bind expression where concatenated execute/reload action contains + character.

    fzf --multi --bind 'ctrl-l:select-all+execute(less {+f})+deselect-all'
  • Fixed bugs of reload action

    • Not triggered when there's no match even when the command doesn't have any placeholder expressions
    • Screen not properly cleared when --header-lines not filled on reload

0.19.0

15 Nov 13:56
788e30a
Compare
Choose a tag to compare
  • Added "reload" action for dynamically updating the input list without
    restarting fzf. See junegunn/fzf#1750 to learn
    more about it.
    # Using fzf as the selector interface for ripgrep
    RG_PREFIX="rg --column --line-number --no-heading --color=always --smart-case "
    INITIAL_QUERY="foo"
    FZF_DEFAULT_COMMAND="$RG_PREFIX '$INITIAL_QUERY'" \
      fzf --bind "change:reload:$RG_PREFIX {q} || true" \
          --ansi --phony --query "$INITIAL_QUERY"
  • --multi now takes an optional integer argument which indicates the maximum
    number of items that can be selected
    seq 100 | fzf --multi 3 --reverse --height 50%
  • If a placeholder expression for --preview and execute action (and the
    new reload action) contains f flag, it 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 ARG_MAX.
    # Press CTRL-A to select 100K items and see the sum of all the numbers
    seq 100000 | fzf --multi --bind ctrl-a:select-all \
                     --preview "awk '{sum+=\$1} END {print sum}' {+f}"
  • deselect-all no longer deselects unmatched items. It is now consistent
    with select-all and toggle-all in that it only affects matched items.
  • Due to the limitation of bash, fuzzy completion is enabled by default for
    a fixed set of commands. A helper function for easily setting up fuzzy
    completion for any command is now provided.
    # usage: _fzf_setup_completion path|dir COMMANDS...
    _fzf_setup_completion path git kubectl
  • Info line style can be changed by --info=STYLE
    • --info=default
    • --info=inline (same as old --inline-info)
    • --info=hidden
  • Preview window border can be disabled by adding noborder to
    --preview-window.
  • When you transform the input with --with-nth, the trailing white spaces
    are removed.
  • ctrl-\, ctrl-], ctrl-^, and ctrl-/ can now be used with --bind
  • See https://github.com/junegunn/fzf/milestone/15?closed=1 for more details

0.18.0

31 Mar 02:27
47d1caa
Compare
Choose a tag to compare
  • Added placeholder expression for zero-based item index: {n} and {+n}
    • fzf --preview 'echo {n}: {}'
  • Added color option for the gutter: --color gutter:-1
  • Added --no-unicode option for drawing borders in non-Unicode, ASCII
    characters
  • FZF_PREVIEW_LINES and FZF_PREVIEW_COLUMNS are exported to preview process
    • fzf still overrides LINES and COLUMNS as before, but they may be
      reset by the default shell.
  • Bug fixes and improvements
  • Built with Go 1.12.1

0.17.5

06 Oct 16:48
24133d8
Compare
Choose a tag to compare

0.17.4

10 Jun 01:39
f688bb5
Compare
Choose a tag to compare
  • Added --layout option with a new layout called reverse-list.
    • --layout=reverse is a synonym for --reverse
    • --layout=default is a synonym for --no-reverse
  • Preview window will be updated even when there is no match for the query
    if any of the placeholder expressions (e.g. {q}, {+}) evaluates to
    a non-empty string.
  • More keys for binding: shift-{up,down}, alt-{up,down,left,right}
  • fzf can now start even when /dev/tty is not available by making an
    educated guess.
  • Updated the default command for Windows.
  • Fixes and improvements on bash/zsh completion
  • install and uninstall scripts now supports generating files under
    XDG_CONFIG_HOME on --xdg flag.

See https://github.com/junegunn/fzf/milestone/12?closed=1 for the full list of
changes.