github junegunn/fzf v0.68.0
0.68.0

11 hours ago
  • Implemented word wrapping in the list section
    • Added --wrap=word (or --wrap-word) option and toggle-wrap-word action for word-level line wrapping in the list section
    • Changed default binding of ctrl-/ and alt-/ from toggle-wrap to toggle-wrap-word
    fzf --wrap=word
  • Implemented word wrapping in the preview window
    • Added wrap-word flag for --preview-window to enable word-level wrapping
    • Added toggle-preview-wrap-word action
    fzf --preview 'bat --style=plain --color=always {}' \
        --preview-window wrap-word \
        --bind space:toggle-preview-wrap-word
  • Added support for underline style variants in --color: underline-double, underline-curly, underline-dotted, underline-dashed
    fzf --color 'fg:underline-curly,current-fg:underline-dashed'
  • Added support for underline styles (4:N) and underline colors (SGR 58/59)
    # In the list section
    printf '\e[4:3;58;2;255;0;0mRed curly underline\e[0m\n' | fzf --ansi
    
    # In the preview window
    fzf --preview "printf '\e[4:3;58;2;255;0;0mRed curly underline\e[0m\n'"
  • Added --preview-wrap-sign to set a different wrap indicator for the preview window
  • Added alt-gutter color option (#4602) (@hedgieinsocks)
  • Added $FZF_WRAP environment variable to child processes (char or word when wrapping is enabled) (#4672) (@bitraid)
  • fish: Improved command history (CTRL-R) (#4672) (@bitraid)
    • Enabled syntax highlighting in the list on fish 4.3.3+
    • Added syntax-highlighted preview window that auto-shows for long or multi-line commands
    • Added ALT-ENTER to reformat and insert selected commands
    • Improved handling of bulk deletion of selected history entries (SHIFT-DELETE)
  • Added fish completion support (#4605) (@lalvarezt)
  • zsh: Handle multi-line history selection (#4595) (@LangLangBart)
  • Bug fixes
    • Fixed _fzf_compgen_{path,dir} to respect FZF_COMPLETION_{PATH,DIR}_OPTS (#4592) (@shtse8, @LangLangBart)
    • Fixed --preview-window follow not working correctly with wrapping (#3243, #4258)
    • Fixed symlinks to directories being returned as files (#4676) (@skk64)
    • Fixed SIGHUP signal handling (#4668) (@LangLangBart)
    • Fixed preview process not killed on exit (#4667)
    • Fixed coloring of items with zero-width characters (#4620)
    • Fixed track-current unset after a combined movement action (#4649)
    • Fixed --accept-nth being ignored in filter mode (#4636) (@charemma)
    • Fixed display width calculation with maxWidth (#4596) (@LangLangBart)
    • Fixed clearing of the rest of the current line on start (#4652)
    • Fixed x-api-key header not required for GET requests (#4627)
    • Fixed key reading not cancelled when execute triggered via a server request (#4653)
    • Fixed rebind of readline command redraw-current-line (#4635) (@jameslazo)
    • Fixed fzf-tmux TERM quoting and added mktemp usage (#4664) (@Goofygiraffe06)
    • Do not allow very long queries in FuzzyMatchV2 (#4608)

Don't miss a new fzf release

NewReleases is sending notifications on new releases.