1

I have a keyboard shortcut to use ALT+- to insert -> in R files, and it works.

{
        "key": "alt+-",
        "command": "type",
        "when": "editorLangId == r || editorLangId == rmd || editorLangId == quarto && editorTextFocus",
        "args": {
            "text": " <- "
        }
    }

But it does not (unsurprisingly) work in the R / radian terminal because of the when condition.

How can I make it also work in the R / radian terminal?

Konrad Rudolph
  • 530,221
  • 131
  • 937
  • 1,214
Rainer
  • 8,347
  • 1
  • 23
  • 28

0 Answers0