两边堪称卧龙凤雏, 但凡有一边干点人事, 也不至于是现在这个状况

奇迹啊
  1. 人家vscode是默认就有emmet, sublime要安装插件
  2. 人家vscode默认是全局一致的快捷键, sublime这边占用ctrl-e, ctrl-d两个全局快捷键, 这是要逆天啊, 这两个快捷键mac/linux都用的emacs快捷键, 就这么瞧不起gnu/stallman?

为了用这个, 你需要阅读文档

  • https://github.com/emmetio/sublime-text-plugin
  • 而且折磨重要的玩意, 是在这个老长文档的腰部
// Put this code snippet into your .sublime-keymap file
// and modify `keys` value with desired shortcut
{
    "keys": ["ctrl+e"],
    "command": "emmet_expand_abbreviation"
}

// Put this code snippet into your .sublime-keymap file
// and modify `keys` value with desired shortcut
{
    "keys": ["ctrl+."],
    "command": "emmet_enter_abbreviation"
}

光有卧龙凤雏还不够

  • 三足鼎立定律, 苹果一定要来插一脚
  • ctrl+shift 这个快捷键要求先按ctrl, 不能先按shift, 同时也不行
  • 苹果, 你能不能做个人?