A simple plugin for remap any keymap within Sublime 2/3 sublime-keymap files; you can just define a new keymap and the plugin will do the rest for you. The plugin also keeps the entry up to date if the context of the keymap changes.
Keymap Redefiner: Define Keymap: Define a new key combination for a selected keymap, see demo below.
Keymap Redefiner: Update Keymaps: Update all set keymaps, this command will check all plugins for the selected item and update the context, args values if necessary.
Keymap Redefiner: Remove Keymap Remove a key combination if you which to return to the default one.
Using Package Control:
- Bring up the Command Palette (Command+Shift+P on OS X, Control+Shift+P on Linux/Windows).
- Select Package Control: Install Package.
- Select Keymap Redefiner to install.
Not using Package Control:
- Save files to the
Packages/Keymap Redefinerdirectory, then relaunch Sublime:
~/Library/Application Support/Sublime Text 2|3/Packages/Keymap Redefiner
%APPDATA%/Sublime Text 2|3/Packages/Keymap Redefiner
All files in this package is licensed under the MIT license.
Copyright (c) 2013 Chris firstname.lastname@example.org
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.