getcursor / cursor

The AI Code Editor
https://cursor.com
23.14k stars 1.47k forks source link

Changing `cmd+k` `cmd+shift+k` keyboard shortcut issue #1659

Closed 2nthony closed 1 week ago

2nthony commented 3 weeks ago

recently switch back to cursor. This issue has actually been bothering me for a long time since I started to use Cursor.


Is your feature request related to a problem? Please describe.

Since cmd+k is a lot of things from VS Code, so I changed the shortcut to cmd+i and cmd+shift+i, and I'm facing some unexpected behaviour.

Get used to the new shortcut is a little painful :( because I use delete line(cmd+shift+k) often, and I have a combo shortcut cmd+k {anykey} as my own "key" shortcuts.

Describe the solution you'd like

there are two solutions I hope (personally prefer the first one):

Additional context

this video shows, I changed to shortcut to cmd+i and cmd+shift+i, I can do open edit with these shortcuts. But when focusing on the edit popup, I only can do toggle via old shortcut cmd+k or cmd+shift+k.

https://github.com/user-attachments/assets/ed839ff7-c75f-459e-b2e3-4080b45c192a

this video basically the same issue as above but for terminal

https://github.com/user-attachments/assets/57504de0-0ad8-4da9-9525-45c2738af58c


an old issue: #672

2nthony commented 2 weeks ago

NVM, I found the solution

2nthony commented 2 weeks ago

NVM, I found the solution

still. even if I delete the keychord.leader and change the cmd+k to cmd+i.

I think it is hard coding for the key shortcut

tjx666 commented 2 weeks ago

or you can try:

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

2nthony commented 2 weeks ago

or you can try:

marketplace.cursorapi.com/items?itemName=YuTengjing.vscode-classic-experience

that is great, I'll try

kannwism commented 1 week ago

or you can try:

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

The link doesn't seem to work for me :(

tjx666 commented 1 week ago

@kannwism https://marketplace.visualstudio.com/items?itemName=YuTengjing.vscode-classic-experience

maximedupre commented 1 week ago

What's the difference between the "cmd+k" and "cmd+shift+k" shortcuts anyway? Both seem to open up the edit panel.

So I simply removed the "cmd+shift+k" shortcut to retain the old VSC "delete line" behaviour.