Use different shortcut instead of cmd + k
Is your feature request related to a problem? Please describe. Right now the prompt is bounded to cmd +k but there are lots of combination shortcuts which work with cmd +k. Like Fold all ((cmd + k ) + ( cmd + 0 ) )
Describe the solution you'd like Use the different key combinations for the prompt.
Additional context
Are you able to adjust the key command in the view that you screenshotted?
@truell20 Pardon, I don't get you.
I believe you can adjust the key command by hitting the pencil icon in that view. In the future, I think we'll want to make this much more intuitive.
Does that fix your issue?
Are you suggesting changing the prompt shortcut to something else rather than the (cmd + k)?
I believe the original author is suggesting changing the prompt shortcut to something other than cmd+k, which does NOT appear to be editable in the settings (maybe because it's a hotkey that's not from VSCode? maybe because it's so built-in because of all the places where the prompt is shown.
aha, okay, it's there, but it doesn't come up when searching cmd+k (which seems like a bug). I did find it by searching "generate". I'm changing mine to cmd+j (I considered cmd+space, since it seems like a similar kind of intent to spotlight/alfred, and I doubt I'll use alfred much when I have my editor open, but I couldn't quickly figure out how to override it to set it, so I didn't bother)
anyway yeah cmd+k as the default is fucking stupid. it completely blocks the usage of dozens of other built-in and common hotkeys for code-folding and other things. clearly that choice wasn't well thought-through, since if it were then at least those hotkeys would have been remapped by the team.
having remapped AI-Generate ("Open Edit") to cmd+J, I can confirm that the hotkey displayed in the tip doesn't update to match! probably not a big deal but is related to this being dumb
@malcolmocean just like cmd+k, cmd+j is mapped to something else, so I have set it to shift+control+p.
Thanks for the feedback here! In our latest version (releasing tomorrow to everyone), we're keeping the hint lines updated with the user-configured shortcuts. We've also made the keybinding more searchable.
Thanks @arvid220u
"aipopup.action.modal.edit" has gone.
How to view all available commands provided by CURSOR?
Since cmd+k conflict with a lot of things, Is there any alternative recommendation?
As someone who uses cmd+k ~50 times a day to clear my terminal, this is instant deal breaker for me 😣
@gullitmiranda @danvoyce try https://marketplace.cursorapi.com/items?itemName=YuTengjing.vscode-classic-experience
I use cmd+k for clearing my terminal and for skipping selections when doing cmd+d. So this Cursor default conflicts with two common vscode shortcuts. So dumb.
it works when I delete the hotkey cmd+k working in the terminal
{
"key": "cmd+k",
"command": "-cursorai.action.generateInTerminal",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
}
by the way, the hotkey to access the key mapping ~~cmd+k, cmd+s~~ has been changed by the cursor. it is now cmd+r cmd+s
+1 @TorvaldsDB – updating the generateInterminal cmd did it for me
I tested Cursor yesterday. The AI aspect are well done. But...
This ctrl+k shortcut issue is critical for my habbits of VSCode.
In UX There is a famous law called the Jakob's Law : https://lawsofux.com/jakobs-law/ This UX law tell you to not try to change the habbit of people and on the contrary reuse the habbit.
Just for this reason, I consider using the competition. Too sad.
PLEASE invent a shortcut not already massively used by vscode, best is a shortcut not used at all.
The worst part is that after an update, my keybinding was remapped to cmd+k, making me come back to this thread to remember how to reconfigure it. It created a duplicated entry remapping the command to cmd+k, overriding my custom mapping.
If you're going to insist on using cmd+k as default, at least make it easy to remap it to something else.
I just came in to try to give Cursor another try, and as soon as I hit the terminal and realized I hit Command-K to clear the terminal about a hundred times per hour, I'm back in this thread and I still haven't figured out how to change the command as of 1.0. Setting generateInterminal didn't do anything for me.
^ still pops up
As someone used to using "cmd+k" for existing vscode actions, I found that "cmd+m" was an unused key combination on the editor, therefore I remapped the "Cursor: Open Edit" and "Terminal: Generate in Terminal" both to "cmd+m".