HTML keyboard shortcuts in Sublime Text 2?
html, keyboard-shortcuts, sublimetext, sublimetext2
Solution
Mac: Ctrl+Shift+W
Windows/Linux: Alt+Shift+W
Then type which tag you want (`i`, `b`, etc.).
Problem
I switched from Textmate to Sublime in the past few months and have been busy trying to re-train my brain and fingers to use the new shortcut keys. In Textmate, when editing an HTML documents, I could highlight text and do Command+b to wrap the selected text in `<b></b>` tags or Command+i to wrap in `<i></i>`...among various other commands/tags. So, is there a way to do that in Sublime? I know I can type b, TAB to create an empty set of `<b></b>` tags, but I want to be able to wrap selected text in various tags.