Reputation: 3300
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?
Upvotes: 9
Views: 7706
Reputation: 4033
If you are looking to encode/decode LaTex accents, I have created a spetial plugin for this : https://github.com/kpym/SublimeLaTeXAccents .
Upvotes: 0
Reputation: 29261
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"]}
}
Upvotes: 13