ripgrep

ripgrep is installed by Home Manager and gets a small default config at ~/.config/ripgrep/config.

Defaults

SettingPurpose
--line-numberShow file line numbers.
--smart-caseCase-insensitive search unless the pattern has capitals.
--max-columns=120Avoid unreadably long output lines.
--max-columns-previewStill show a preview for long lines.
--type-add=nix:*.nixTeach ripgrep about Nix files.
--glob=!.git/*Skip Git internals.
--glob=!**/node_modules/**Skip JS dependencies.
--glob=!**/target/**Skip Rust build output.
--glob=!**/.build/**Skip common build output.

Usage

General search examples live in Tools.

This page only documents the repo default behavior.