Skip to content

0.39.0

Compare
Choose a tag to compare
@junegunn junegunn released this 02 Apr 14:37
· 468 commits to master since this release
0.39.0
2023040
  • Added one event that is triggered when there's only one match
    # Automatically select the only match
    seq 10 | fzf --bind one:accept
  • Added --track option that makes fzf track the current selection when the
    result list is updated. This can be useful when browsing logs using fzf with
    sorting disabled.
    git log --oneline --graph --color=always | nl |
        fzf --ansi --track --no-sort --layout=reverse-list
  • If you use --listen option without a port number fzf will automatically
    allocate an available port and export it as $FZF_PORT environment
    variable.
    # Automatic port assignment
    fzf --listen --bind 'start:execute-silent:echo $FZF_PORT > /tmp/fzf-port'
    
    # Say hello
    curl "localhost:$(cat /tmp/fzf-port)" -d 'preview:echo Hello, fzf is listening on $FZF_PORT.'
  • A carriage return and a line feed character will be rendered as dim ␍ and
    ␊ respectively.
    printf "foo\rbar\nbaz" | fzf --read0 --preview 'echo {}'
  • fzf will stop rendering a non-displayable character as a space. This will
    likely cause less glitches in the preview window.
    fzf --preview 'head -1000 /dev/random'
  • Bug fixes and improvements