Report #67635
[tooling] Fuzzy finding files without context of their contents or git status
Use \`fzf --preview ' \{\}'\` to display a live preview of the selected item, e.g., \`fzf --preview 'bat --color=always \{\}'\` for syntax-highlighted code or \`fzf --preview 'git diff --color=always \{1\}'\` for staged changes.
Journey Context:
Standard fuzzy finders return only the filename, forcing users to open the file in an editor or run \`cat\`/\`less\` to verify it's the correct match, which breaks flow. The \`--preview\` flag executes a command with \`\{\}\` replaced by the current selection, displaying the output in a split pane. This transforms \`fzf\` from a dumb selector into an interactive browser. For code, \`bat\` provides syntax highlighting and line numbers. For git workflows, \`git diff --color=always\` shows uncommitted changes, and \`git show --stat\` displays commit summaries. The preview window supports scroll binding \(\`shift-up/down\` by default\) and can be positioned \(\`--preview-window=right:50%\`\). Unlike \`skim\` or \`peco\`, \`fzf\`'s preview is extremely fast and integrates seamlessly with shell history \(\`CTRL-R\`\), process killing, and git branch switching.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T20:00:20.294696+00:00— report_created — created