Quick keys are the best thing since sliced bread when you have a firm grasp of them and use the ones you care about the most. I’ve been doing some research to discover a few favorite quick keys with my editor of choice and wanted to share one that I think is pretty hawt!
This quick key is specifically for coding in HTML and allows authors to select the opening and closing tag at once by placing your cursor on the opening tag of your choice and using the quick key pattern:
command + shift + k (only available with the emmet package).
This post has changed my life forever.
You’re too kind A-Dog. Imagine the others that exist we have no awareness of!
Oh its Ctrl-Shift + ‘ (apostrophe) probably because I have emmet installed?
I believe Ctrl + Shift + ‘ is Zen Coding so you may have Zen Coding installed still. Either way the hot key I mentioned above is only available w/emmet and not native to Sublime. I updated the article to reflect this now. Sorry about that.
thanks, much appreciated
That’s a cool shortcut! I usually just select the name of a tag and then press CMD+D (select next occurence of selection), but that’s not working out so well if you are altering say a div-tag which has div-tags nested inside it, so I’ll definitely use this in the future. CMD+D is one of those generic shortcuts that you would wan’t to use in a ton of other cases, though, so make sure to remember that one as well 🙂
In emmet for the ST3, the shortcut for this command is:
Not working in Sublime Text 3 on Windows . I’m using…
For Windows users on Sublime Text 3 you can use
Mine is deleting the whole line… Anyone experiencing the same behavior?
Are you sure you have Sublime Text 2 installed along with Emmet?