v0.61.0

junegunn/fzfv0.61.0Mar 30, 2025by junegunn

Upgrading?

Release notes summary

Introduces ghost text for empty input states, dynamic pointer actions, and a raw mode flag for placeholders.

Key Highlights

  • Added `--ghost` flag to display text when the input is empty
  • Added dynamic actions for changing ghost text and pointer sign
  • Added `r` flag for raw mode placeholders

New Features

  • `--ghost` option
  • `change-ghost` and `transform-ghost` actions
  • `change-pointer` and `transform-pointer` actions
  • Raw mode (`r`) for placeholders

Full Release Notes

- Added `--ghost=TEXT` to display a ghost text when the input is empty
  ```sh
  # Display "Type to search" when the input is empty
  fzf --ghost "Type to search"
  ```
- Added `change-ghost` and `transform-ghost` actions for dynamically changing the ghost text
- Added `change-pointer` and `transform-pointer` actions for dynamically changing the pointer sign
- Added `r` flag for placeholder expression (raw mode) for unquoted output
- Bug fixes and improvements

Related Repositories