I was wondering how could I set a shortcut, for example CRTL+F for the keystrokes <-
for a better experience programming with R language. Or even when I type -
it prints out on my coding scripts the full <-
.
I could set it in RStudio but couldn't find a way to do that in VS code. The shortcut options in VS Code are always linked to IDE commands, didn't help me at all.
Any ideas?
Or use this handy keyboard shortcut example with arguments from the doc pages
{
"key": "ctrl+f",
"command": "type",
"args": { "text": "<-" },
"when": "editorTextFocus && editorLangId == r"
},