简体   繁体   中英

Shortcut key for Emmet “wrap with abbreviation” in Sublime 2 on OSX?

I installed Emmet on Sublime2 on OSX. I want to use the "Wrap with Abbreviation" feature. There's a lot of conflicting information about what the shortcut should be, and I've tried every option, but nothing seems to work.

  • ctrl + w
  • cmd + w
  • cmd + shift + w
  • shift + cmd + a
  • shift + ctrl + g

Nothing works. The closest I get is with shift + cmd + a , which wraps a bunch of things with <p> tags in various lines throughout the document. That's cool but it's not what I'm going for. Is there an up to date reference of keybindings for Emmet on Sublime2?

我相信 OSX 上的ctrl + shift + w是您所追求的

use this shortcut on windows 10

alt+shift+w = abbreviation

example: Eu sou lindo >> select this phrase then click in alt+shif+w

result

<p>Eu sou lindo</p> 

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM