我必须反复粘贴来自乳胶源的代码,所以我每次都必须进行大量查找和替换操作('"a' => 'ä', '"o' => 'ö', ...) .
有没有办法存储这些搜索和替换规则,例如,我可以通过一个按键来执行所有这些规则?
我必须反复粘贴来自乳胶源的代码,所以我每次都必须进行大量查找和替换操作('"a' => 'ä', '"o' => 'ö', ...) .
有没有办法存储这些搜索和替换规则,例如,我可以通过一个按键来执行所有这些规则?
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"]}
}
如果您正在寻找编码/解码 LaTex 口音,我为此创建了一个特殊的插件:https ://github.com/kpym/SublimeLaTeXAccents 。