spacemod

Crates.iospacemod
lib.rsspacemod
version0.1.1
sourcesrc
created_at2023-06-25 18:58:54.057692
updated_at2023-06-25 21:19:17.211545
descriptionA easy to understand and powerful text search-and-replace tool
homepagehttps://github.com/untitaker/quickenv
repositoryhttps://github.com/untitaker/spacemod
max_upload_size
id899752
size169,144
chalk (github:rust-lang-nursery:chalk)

documentation

https://github.com/untitaker/quickenv

README

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]ndo to 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. spacemod is 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.

Commit count: 68

cargo fmt