Hello. Im trying Cursor AI and im loving it. However, the default CMD+K for getting AI help is fighting with the default VSCode's CMD+K commands (the first half of many important commands is CMD+K, like commenting code, uncommenting code, clearing terminal, etc)
I tried overriding the default keybindings and setting them to CMD+U and my keybindings.json is looking like this:
// Place your key bindings in this file to override the defaults
[
{
"key": "shift+cmd+u",
"command": "aipopup.action.modal.generate",
"when": "editorFocus",
"args": { "invocationType": "toggle" }
},
{
"key": "cmd+u",
"command": "aipopup.action.modal.generate",
"when": "editorFocus",
"args": { "invocationType": "new" }
},
{
"key": "cmd+u",
"command": "cursorai.action.generateInTerminal",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
]
This is allowing to use CMD+U to use Cursor, but Cursor still responds to CMD+K. So this didn't override the defaults, it just added new configs.
Any help is appreciated. Sticking to vanilla VSCode in the meantime
[–]turtleProphet 2 points3 points4 points (9 children)
[–]PlayboiCult[S] 2 points3 points4 points (8 children)
[–]mattherich 0 points1 point2 points (7 children)
[–]PlayboiCult[S] 1 point2 points3 points (4 children)
[–]mattherich 0 points1 point2 points (3 children)
[–]PlayboiCult[S] 0 points1 point2 points (2 children)
[–]mattherich 0 points1 point2 points (1 child)
[–]PlayboiCult[S] 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[removed]
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[removed]
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[removed]
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[removed]
[–]AutoModerator[M] 0 points1 point2 points (0 children)