Skip to content

0.37.0

Compare
Choose a tag to compare
@junegunn junegunn released this 24 Jan 13:18
· 642 commits to master since this release
0.37.0
2023012
  • Added a way to customize the separator of inline info
    fzf --info 'inline: ╱ ' --prompt '' --color prompt:bright-yellow
  • New event
    • focus - Triggered when the focus changes due to a vertical cursor
      movement or a search result update
      fzf --bind 'focus:transform-preview-label:echo [ {} ]' --preview 'cat {}'
      
      # Any action bound to the event runs synchronously and thus can make the interface sluggish
      # e.g. lolcat isn't one of the fastest programs, and every cursor movement in
      #      fzf will be noticeably affected by its execution time
      fzf --bind 'focus:transform-preview-label:echo [ {} ] | lolcat -f' --preview 'cat {}'
      
      # Beware not to introduce an infinite loop
      seq 10 | fzf --bind 'focus:up' --cycle
  • New actions
    • change-border-label
    • change-preview-label
    • transform-border-label
    • transform-preview-label
  • Bug fixes and improvements