Lost my Sublime Text 3 wrap text shortcut

My workflow was slowed down because of a small annoying problem. In ST3, you add packages and from time to time something conflicts with a previous shortcut. You could spend ours trying to figure it out. Here is a quick solution to this problem. It has happened to me 3 or 4 times by now so I am getting good at fixing it.

First open this file:
In your main menu, click ‘Sublime Text’ > ‘Preferences’ > ‘Key Bindings – User’.

This will open your user keyboard shortcut bindings.
When this file opens there should be [] or maybe stuff inside it. Make sure each keybinding ends with a comma except for the last one. Add this keybinding, save, close the file and you’ll be back wrapping content with tags in no time.

snippet from Default(OSX).sublime-keymap

{ "keys": ["ctrl+shift+w"], "command": "insert_snippet", "args": { "name": "Packages/XML/long-tag.sublime-snippet" } }

Leave a Reply

Your email address will not be published. Required fields are marked *