continue icon indicating copy to clipboard operation
continue copied to clipboard

Revise default shortcuts

Open matthiasgeihs opened this issue 1 year ago • 4 comments

Validations

  • [ ] I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • [ ] I'm not able to find an open issue that requests the same enhancement

Problem

Cmd+L is the default shortcut for line selection, which I use frequently. Having Continue overwrite this shortcut doesn't work for me.

Moreover, the shortcut seems to be hardcoded in a couple of places. When I set a different shortcut, the tooltip hints will still mention Cmd+L as the shortcut (even though this is not longer true).

Solution

I'd prefer a different default shortcut for adding current selection to the chat context, e.g., Cmd+Shift+I.

matthiasgeihs avatar Aug 29 '24 09:08 matthiasgeihs

Hi @matthiasgeihs! Thank you for this feedback. I would recommend re-mapping the shortcut to something that works better for you. While I'm sure this was frustrating, we've learned (through tons of trial and error before eventually landing here) that there is no shortcut that is both ergonomic and won't bother at least some subset of users. We've taken what we believed to be the best route and don't plan to change right now.

You're right about the hardcoding and this definitely isn't ideal. It doesn't look like there's any reliable way of getting the list of keyboard shortcuts for commands from the VS Code extension API, so we may be stuck showing the default value

sestinj avatar Sep 01 '24 05:09 sestinj

fair enough, i'll leave it open for a bit, to see if others encounter a similar problem, or want to add to the discussion here. feel free to close this any time you feel appropriate.

matthiasgeihs avatar Sep 01 '24 07:09 matthiasgeihs

+1

appleseed-iii avatar Sep 30 '24 17:09 appleseed-iii

+1 I find it super frustrating to have to change the default workflow when a new extension is added and remaps a default shortcut. My beef is with CMD + SHIFT + L to add a cursor to all instances of a selection.

How would one remap the shortcut in Continue to something else? Have tried looking for documentation but couldn't seem to find it, sorry!

I've had to disable Continue for now 😿

shiraleeana avatar Oct 10 '24 00:10 shiraleeana

+1 for same reasons as described by previous users and changing the default vscode shortcuts is not an option for me.

Alex-BSD avatar Oct 18 '24 13:10 Alex-BSD

+1 for the same reason, it took me way too long (facepalming myself) to figure out why my CMD + L wasn't working :/

willvarney avatar Jan 29 '25 06:01 willvarney

This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

github-actions[bot] avatar Apr 30 '25 02:04 github-actions[bot]

i think this is important. The Cursor IDE actually has the same issue. Why not simply pick a default extension shortcut that doesn't overwrite a default VS Code shortcut?

matthiasgeihs avatar May 05 '25 11:05 matthiasgeihs

This issue was really irritating, so I've found a solution to this problem. We can directly remap the extension shortcuts in vscode without modifying the original shortcuts. For example I've mapped cmd/ctrl + L and cmd/ctrl + shift + L separately 👇 to my own liking using vscode keyboard shortcuts settings (Cmd + K, Cmd + S on MacOS).

Image

Hope someone looking for a solution finds this useful.

Anmol-Sharma avatar Jul 02 '25 20:07 Anmol-Sharma

This issue hasn't been updated in 90 days and will be closed after an additional 10 days without activity. If it's still important, please leave a comment and share any new information that would help us address the issue.

github-actions[bot] avatar Oct 01 '25 02:10 github-actions[bot]

This issue was closed because it wasn't updated for 10 days after being marked stale. If it's still important, please reopen + comment and we'll gladly take another look!

github-actions[bot] avatar Oct 12 '25 02:10 github-actions[bot]

The thing is when remapping some keys, the tooltip is lying with the old shortcuts. For instance, I remapped shift+cmd+l to cmd+@, but the tooltip keeps showing cmd+L (shift+cmd+l), even though I restarted VSCode.

Image Image

The remapping works though, I can use cmd+@ instead of shift+cmd+l as expected. The UI is just not helping here.

Ximaz avatar Nov 15 '25 12:11 Ximaz