vscode快捷键的设置

如打开 keybindings.json 文件, 添加:

{
   "key": "ctrl+shift+e",
   "command": "editor.action.insertSnippet",
   "when": "editorTextFocus && editorLangId == 'latex'",
   "args": {
      "snippet": "\\textcolor{blue}{$TM_SELECTED_TEXT}"
   }
}
posted @ 2025-01-25 00:04  LiuH41  阅读(22)  评论(0)    收藏  举报