Reputation: 8685
Help! One of my favourite and most-used keyboard shortcuts has suddenly stopped working in ST3:
Shift + Alt + W (Wrap selection in HTML tag)
I've recently updated to the latest version which is currently 3114. I've checked the keymap settings, and nothing that I can see there is overriding it. I've also tried disabling all installed packages, as per this answer. Still nothing happening. That shortcut has just completely dropped dead. Any ideas? I need it back!
Thanks
Upvotes: 0
Views: 289
Reputation: 16075
Tools
menu -> Browse Packages
.XML
.Snippets
.long-tag.sublime-snippet
.Paste in the following (from https://github.com/sublimehq/Packages/blob/master/XML/Snippets/long-tag.sublime-snippet):
<snippet>
<content><![CDATA[<${1:p}>${2:$SELECTION}</${1/([^ ]+).*/$1/}>]]></content>
<tabTrigger><</tabTrigger>
<scope>text.xml</scope>
<description>Long Tag</description>
</snippet>
Save it
XML
folder.The keybinding will now work.
Upvotes: 2