This plugin allows you to replace two parts of code you have selected in your sublime editor.
Clone this repository in to the Sublime Text "Packages" directory, which is located where ever the "Preferences" -> "Browse Packages" option in sublime takes you.
The default key binding is "ctrl+shift+q"
Unfortunately there are other plugins that use "ctrl+shift+q", this is a hard problem to solve. If sublimecastling doesn't work, then you have two options:
- Add
{"keys": ["ctrl+shift+q"], "command": "sublimecastling"}
to your user keybindings file. This will override anything specifid by a plugin. - Find the offending plugin, and change the shortcut in its sublime-keymap file (will revert on updates)
First you need to select first part then the second one! The selections will be replaced after you press "ctrl+shift+q" and will replace back if you press the combination again.