Skip to content

Custom shortcut in console #5211

Answered by juliasilge
srhrnkn asked this question in Q&A
Oct 30, 2024 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I would probably use "when": "editorLangId == r", like we do here for the command to insert a pipe:

{
"command": "r.insertPipe",
"key": "ctrl+shift+m",
"mac": "cmd+shift+m",
"when": "editorLangId == r"
},

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@srhrnkn
Comment options

Answer selected by srhrnkn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants