0.1.1 • Published 2 years ago
@untitaker/spacemod v0.1.1
spacemod
spacemod is a text search-and-replace tool optimized towards refactoring
code.
It is very similar to fastmod, but with some additional features:
- Undo stack. Approved a diff too soon? Hit
[u]ndoto revert. - Yes to all diffs like this. Auto-approve future diffs with the exact same content.
- Parenthesis-matching (experimental). Besides regex, spacemod also supports a custom regex-like language that requires less escaping and whitespace-handling.
- Parallelism.
spacemodis not quite as CPU-efficient as fastmod, but compensates by using background threads to search files while you approve diffs.
Installation
Check the website for installation options.
Matching Modes
By default, you use regexes to replace text. See Matching
modes for the alternative modes that spacemod supports.
Alternatives
There are many tools like spacemod, some of which may suit your needs better. Take a look at Alternatives.
License
Licensed under MIT, see ./LICENSE.