Skip to content

Find view ​

The Find view recursively lists files and directories under one or more roots using fd, so you can fuzzy-filter, sort, preview, and act on paths across an entire tree as results stream in.

Entering the Find view ​

Open the Find view from the command line by passing a query, -t filters, or visibility flags:

shell
fs :: src tests query
fs -t .rs,.toml

Inside any view, press ctrl-f to open the Find view rooted at the current working directory.

Run fs :: --help for the full flag list.

Filetype arguments ​

The -t / --types flag accepts a comma-separated list of filters (fs -t .rs,.toml, fs -t image,video). Each token is resolved in order:

KindSyntaxExamples
File typesSingle letter or type namef (file), d (directory), l (symlink), x (executable), e (empty), s, p, b, c
ExtensionsLeading dot.rs, .md, .tar.gz
Built-in categoriesCategory name or short aliasimage (img), video (vid), audio (aud), document (doc), source (src, code)
Custom categoriesKey from lessfilter.tomlUser-defined [categories] name
No extensionEmpty token ("")-t ""

Passing only d (-t d) sets directory-only visibility, while passing any non-directory type sets file-only visibility. Run fs :tool types to inspect every built-in and custom category and its extensions.

The Find view uses f:st's visibility model: inside a git repository, hidden dotfiles are shown and git-ignored paths are skipped; outside one, dotfiles are hidden. Starting a query with . (such as .env or .github) reveals hidden files automatically through smart visibility.

Glob patterns in [views.find] exclusions are omitted from every search (~ expands to your home directory). Enabling all visibility (-u on the CLI or all in the Options overlay) reveals hidden files, ignored files, exclusions, and VCS directories together.

Symbolic links are followed by default during traversal; disable symlink following for a run with --no-follow, in the Options overlay (alt-p), or via default_visibility = { follow = false } under [views.find].

Auto-refresh ​

After the initial walk finishes, f:st attaches a recursive filesystem watcher only when both [views.find] thresholds are met: the result count is below max_refresh_items_threshold (default 20000) and the walk completed within max_refresh_execution_time_threshold (default 400 ms). Exceeding either threshold leaves automatic watching off so disk activity in a large tree does not trigger repeated background crawls; you can still reload at any time with ctrl-f.

Working with results ​

Once rows stream in, all standard view operations apply: fuzzy filtering (including % to filter the tail column), sorting, previews, selections, transfers, and menu actions. Passing --transform <LUA> to fs :: runs a Lua chunk on every found path to filter rows, rewrite display names, or populate the tail column; see Transforming rows with Lua.

All Find view settings live under [views.find] in config.toml.