github junegunn/fzf 0.39.0

latest releases: v0.56.3, v0.56.2, v0.56.1...
19 months ago
  • 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

Don't miss a new fzf release

NewReleases is sending notifications on new releases.