swpui

rust
mit OR apache-2.0

A minimal utility to preview search-and-replacement of text.

image preview of swpui

swpui is a terminal search-and-replace tool for editing text across source code and files within a TUI interface.

 

It supports case-aware replacement, literal and regex matching, multiline regex, capture groups and multithreaded search. Unlike similar tools such as ripgrep or fzf, you can directly preview matched results without needing to execute separate commands for the same functionality.

 

This tool also can apply source-wide edits, has glob include/exclude patterns, and respects .gitignore, .ignore and .swpignore to not include binary files, or large files in the search results.

 

swpui is for developers who need a visual alternative to ripgrep or the standard grep tool for a quick search-and-replace task in the terminal. It is also handy if you regularly use regex but need a quick preview of the result before actually replacing the matched text.

Get Updates On Terminal Trove.

No spam, just updates on Terminal Trove. See an example update.