getcursor / cursor

The AI Code Editor
https://cursor.com
24.73k stars 1.54k forks source link

Use different shortcut instead of cmd + k #672

Open Vishal-Isharani opened 1 year ago

Vishal-Isharani commented 1 year ago

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

image
truell20 commented 1 year ago

Are you able to adjust the key command in the view that you screenshotted?

Vishal-Isharani commented 1 year ago

@truell20 Pardon, I don't get you.

truell20 commented 1 year ago

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?

Vishal-Isharani commented 1 year ago

Are you suggesting changing the prompt shortcut to something else rather than the (cmd + k)?

malcolmocean commented 1 year ago

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.

malcolmocean commented 1 year ago

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

image
Vishal-Isharani commented 1 year ago

@malcolmocean just like cmd+k, cmd+j is mapped to something else, so I have set it to shift+control+p.

image
arvid220u commented 1 year ago

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.

Vishal-Isharani commented 1 year ago

Thanks @arvid220u

sisrfeng commented 1 year ago

"aipopup.action.modal.edit" has gone.

How to view all available commands provided by CURSOR?

gullitmiranda commented 9 months ago

Since cmd+k conflict with a lot of things, Is there any alternative recommendation?

danvoyce commented 2 months ago

As someone who uses cmd+k ~50 times a day to clear my terminal, this is instant deal breaker for me 😣

tjx666 commented 2 months ago

@gullitmiranda @danvoyce try https://marketplace.cursorapi.com/items?itemName=YuTengjing.vscode-classic-experience

samal-rasmussen commented 1 month ago

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.