是否可以在使用VSCode编写Quarto文档时添加R
代码块的键盘快捷方式?
我想要使用像管道操作符%>% (ctrl+shift+m)
等快捷方式。我以为我可以通过将下面的代码包含在keybinds.json
文件中来实现,但是它对我不起作用:
{
"key": "ctrl+shift+m",
"command": "type",
"when": "editorLangId == 'r' || editorTextFocus && editorLangId == 'qmd'",
"args": { "text": " %>% " }
},