What problem does it solve?
fzf provides an interactive, fast way to filter and select items from any list, outputting the chosen item(s) for use in scripts, pipelines, or command-line workflows. It eliminates tedious manual selection and enables rapid navigation of large result sets.
Core Features & Use Cases
- Interactive selection from STDIN with fuzzy matching, enabling quick picking from long lists such as filenames, command histories, or search results.
- Built-in shell integrations and keybindings (CTRL-T, CTRL-R, ALT-C) to streamline editing, searching, and directory navigation.
- Seamless integration with common tools (ripgrep, fd, git) to power fast, composable workflows.
- Use Case: Scan a project’s files with fd, filter with fzf, then open the selected file in your editor.
Quick Start
- Install fzf on your system (examples: macOS: brew install fzf; Debian/Ubuntu: sudo apt-get install fzf).
- List items and choose one:
fd --type f | fzf
- Open the selected file (example):
vim "$(fd --type f | fzf)" # adapt to your editor