Capture the selected value and open it with $EDITOR.
Section: Core usage
Open the selected file in an editor
bash
bash
vim "$(find . -type f | fzf)"Explanation
Classic pattern for launching your editor on a fuzzy-selected file.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Core usage
Select files from a pipeline
Pipe any list into fzf and interactively pick a line.
Use exact matching
Turn off fuzzy matching and only match the query literally.
Transform what is displayed
Hide or reorder fields in the list without changing the selected line.
Set a custom field delimiter
Parse colon- or tab-delimited input cleanly.