Custom shortcut in console #5211
-
I've added this to my keybindings.json file and it works, but only in an editor pane. Is there something I should add to that "when" line so that it will work in the console as well? { |
Beta Was this translation helpful? Give feedback.
Answered by
juliasilge
Oct 30, 2024
Replies: 1 comment 1 reply
-
I would probably use positron/extensions/positron-r/package.json Lines 348 to 353 in 1cda237 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
srhrnkn
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would probably use
"when": "editorLangId == r"
, like we do here for the command to insert a pipe:positron/extensions/positron-r/package.json
Lines 348 to 353 in 1cda237