Add fzf usage examples and keybindings to README

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Yan Lin 2025-07-26 13:44:23 +02:00
parent d92851d6ea
commit af5add2783

View file

@ -187,6 +187,24 @@ fd -H hidden # Include hidden files (-H)
fd | fzf # Pipe to fzf for interactive selection fd | fzf # Pipe to fzf for interactive selection
``` ```
#### fzf Usage Examples
```bash
fzf # Interactive file finder
ls | fzf # Fuzzy find from any list
history | fzf # Search command history
fd | fzf # Fast file finding with fuzzy selection
fd -t d | fzf # Find and select directories only
rg "pattern" | fzf # Search text then fuzzy filter results
# Preview files while browsing
fzf --preview 'bat --style=numbers --color=always {}'
```
**Built-in zsh keybindings:**
- `Ctrl+T` - Insert selected files/directories into command line
- `Ctrl+R` - Search command history interactively
- `Alt+C` - Change to selected directory
### Fonts ### Fonts
- **Nerd Fonts**: FiraCode and JetBrains Mono with icon support - **Nerd Fonts**: FiraCode and JetBrains Mono with icon support