FZH
fzf
fzf stands for Fuzzy Finder.
It is a command-line interactive search tool that lets you find files, directories, or text efficiently using fuzzy matching.
Why Developers Use fzf
- Quickly search through large directories or command history
- Navigate files and Git branches without typing full names
- Combine with other tools like
fd,git, orripgrepfor powerful workflows - Saves time compared to manually scrolling or typing long names
Basic Usage
- Opens an interactive search menu for standard input.
- Example: List files and select one interactively:
- Use arrow keys or type a few letters to filter and select a file.
File Searching with fzf
Combine fzf with fd:
fd .lists all files recursivelyfzflets you fuzzy search and select
Git Integration
- Select a branch interactively to checkout:
Command History Search
- Find a previous command quickly and reuse it.
Key Features
- Fuzzy matching: you don’t need exact names
- Interactive interface with arrow keys and search
- Customizable keybindings and actions
- Works with files, directories, git branches, processes, history