Plugin for Sublime Text 2.
In yii sql exceptions contains :name=value plugin replace name to value in query
To install plugin on OSX
go to
cd Library/Application\ Support/Sublime\ Text\ 2/Packages/
clone project
git clone https://github.com/SyominStas/Sublime_SqlYiiReplacer.git
Open Sublime Text 2
Preferences -> Key Bindings-User
add this line
{ "keys": ["ctrl+shift+h"], "command": "sql_yii_replacer" }
To replace use shortcut
Ctrl + Shift + H