Skip to content

Commit beb0a59

Browse files
roomote[bot]daniel-lxsmrubens
authored
feat: add keyboard shortcut for "Add to Context" action (#7908)
Co-authored-by: daniel-lxs <[email protected]> Co-authored-by: Matt Rubens <[email protected]>
1 parent 358519d commit beb0a59

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/package.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,16 @@
302302
}
303303
]
304304
},
305+
"keybindings": [
306+
{
307+
"command": "roo-cline.addToContext",
308+
"key": "cmd+y",
309+
"mac": "cmd+y",
310+
"win": "ctrl+y",
311+
"linux": "ctrl+y",
312+
"when": "editorTextFocus && editorHasSelection"
313+
}
314+
],
305315
"submenus": [
306316
{
307317
"id": "roo-cline.contextMenu",

0 commit comments

Comments
 (0)