serpl Plugin
Terminal UI for search and replace across files, powered by ripgrep. A TUI alternative to VS Code's find-and-replace with per-match preview before applying changes.
Prerequisites
Requires ripgrep (rg) installed and on PATH.
Installation
cargo install serpl
Download binaries from GitHub Releases.
Basic Usage
# Launch interactive search/replace in current directory
serpl
# Limit to a path or glob
serpl ./src
Features
- Regex, case-sensitive, and whole-word matching
- Per-match preview before replace
- Ripgrep-speed file scanning
- Interactive confirmation for each replacement
Usage Examples
- "Find and replace this function name across the repo"
- "Rename this import in all TypeScript files"
- "Search for a regex pattern and preview matches before replacing"
SuperCLI
sc serpl _ _
sc plugins learn serpl