From 303cf90e95f1e02ce192a70f206833b72ddd9f37 Mon Sep 17 00:00:00 2001 From: Yan Lin Date: Sat, 26 Jul 2025 13:46:26 +0200 Subject: [PATCH] Add powerful tool combination examples to README MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Shows how to use fd, fzf, and nvim together for interactive file selection workflows 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index e14ef1e..3390a99 100644 --- a/README.md +++ b/README.md @@ -205,6 +205,24 @@ fzf --preview 'bat --style=numbers --color=always {}' - `Ctrl+R` - Search command history interactively - `Alt+C` - Change to selected directory +#### Powerful Tool Combinations +```bash +# Find and open file with nvim using interactive selection +nvim $(fd --type f | fzf) + +# Find and edit Nix configuration files +nvim $(fd "*.nix" | fzf) + +# Search text content and open matching file +nvim $(rg -l "search_term" | fzf) + +# Preview files while selecting which one to edit +nvim $(fd --type f | fzf --preview 'bat --color=always {}') + +# Find and edit files in specific directory +nvim $(fd --type f . ~/.config | fzf) +``` + ### Fonts - **Nerd Fonts**: FiraCode and JetBrains Mono with icon support