I have to paste code from a latex source repeatedly, so I have to do a lot of find and replace operations every time ('"a' => 'ä', '"o' => 'ö', ...).
Is there a way to store those search & replace rules, so I can execute all of them with one keypress for example?
To use Find and Replace in Sublime Text 3, you can either click “Find” in the top-bar, then select “Replace” from the list, or you can press the keyboard shortcut Ctrl+H – the same way it works in, for example, Microsoft Office Word.
Alt+F3 gives a really simple way to do find and replace: Use it to select all occurrences of the current word or selection, then just start typing to replace or edit them all at once.
Did you check RegReplace? It is a simple find and replace sequencer plugin for Sublime Text 2. It can be installed through Package Installer.
In the end you will have to create some files that will look as follow:
{
"keys": ["ctrl+shift+t"],
"command": "reg_replace",
"args": {"replacements": ["change_a_accent", "change_o_accent"]}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With