Sublime Forum

Wrap selection with tag lost it's hotkey

#1

There was either Alt+Shift+W or Ctrl+Shift+W for “Wrap selection with tag” action, but after updating to 2.0 it’s gone. There is still an action in Ctrl-Shift-P menu.

How I can rebind it? And in general how I can bind a hotkey for any action in that menu?

0 Likes

#2

I have it in Default/Default (*).sublime-keymap.

The entry is

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

or as you said alt+shift+w for Windows.

Maybe you have some other package installed that took over that key binding? Anyways, you can always add the line above to your User/Default (*).sublime-keymap file. This is where you put any rebindings you mant to make.

0 Likes