Skip to content

Extension-Filtered Commands

f + {scope} + {action} + {extension}

Extension suffixes filter fd results to specific file types.

SuffixExtensions matched
md.md
ts.ts, .tsx, .mts, .cts
js.js, .jsx, .mjs, .cjs
json.json, .jsonc
sh.sh, .bash, .zsh
css.css, .scss, .sass, .less
svelte.svelte
astro.astro
html.html, .htm
toml.toml

Each extension supports 7 actions across all 3 scopes:

ActionPatternDescription
Findf{s}f{ext}Find file by extension
Open in nvimf{s}n{ext}Find and open in nvim
Preview with batf{s}b{ext}Find and preview with bat
Removef{s}rmf{ext}Remove file by extension
Movef{s}mvf{ext}Move file by extension
Copyf{s}cpf{ext}Copy file by extension
Renamef{s}rnf{ext}Rename file by extension
CommandDescription
fcftsFind TypeScript file in cwd
frftsFind TypeScript file in repo
frntsOpen TypeScript file in nvim from repo
fcbtsPreview TypeScript file with bat in cwd
fcrmftsRemove TypeScript file in cwd
CommandDescription
fcfmdFind markdown file in cwd
frfmdFind markdown file in repo
fgbmdPreview markdown file with bat globally
fcrmfmdRemove markdown file in cwd
frcpfmdCopy markdown file in repo
CommandDescription
fcfshFind shell script in cwd
frnshOpen shell script in nvim from repo
fcrmfshRemove shell script in cwd

3 scopes × 10 extensions × 7 actions = 210 extension-filtered commands