J. Cotton
J. Cotton

Reputation: 133

in Atom-editor how can I save a regex find/replace to use later?

Coming from vim, I could add a pre-defined find/replace by using the 'command' keyword in the .vimrc file and give it a command name.

What would be the equivalent on atom, to be able to, essentially, define a find/replace regex and save it as a new command to call up whenever needed?

Upvotes: 3

Views: 408

Answers (1)

Hawkeye Parker
Hawkeye Parker

Reputation: 8620

https://atom.io/packages/replacing-pattern-collection

replacing-pattern-collection package

This package helps using find-and-replace. If you often use same complex pattern in find-and-replace, this package is helpful. This package save patterns to file, and load patterns from file.

See package docs for usage help.

Upvotes: 3

Related Questions