Live data from Hacker News

An interactive 19-lesson course to master VSCode's keyboard shortcuts

keycombiner.com

1–10 of 23 posts

Re: An interactive 19-lesson course to master VSCode's keyboard shortcuts

#3
I've also spent a bit of time practicing Sublime shortcuts using https://www.shortcutfoo.com/

Are there other sites like these that people prefer?

Also -- VSCode's shortcuts seem to map 1-to-1 to Sublime's. Is that possible? Is there a lineage of "who inspired who" e.g., for instance, who was the first to come up with ctrl/cmd-P for quick open by name and ctrl/cmd-shift-P for the command palette?

Re: An interactive 19-lesson course to master VSCode's keyboard shortcuts

#4
Doesn't seem to work for me with Chrome on macos - Not sure what's the deal is - It shows me 4 empty rectangles and expects me to do something - potentially in the keyboard input field. However if I press for example CMD + P obviously it tries to print - So it doesn't catch the shortcuts.

Re: An interactive 19-lesson course to master VSCode's keyboard shortcuts

#6
post #5

Shift isn't picked up on Firefox. Am I missing something or is this Chrome/Desktop only?

Huh, practicing should definitely work also on Firefox. Could you give some more details. Does it work for you with Chrome? Does it work when you try the practice demo on the home page directly at keycombiner.com?

The only limitation with Firefox is that it does not support the navigator.keyboard API. So, the visual keyboard and some other advanced KeyCombiner features cannot show your system's keyboard layout but rather have to default to the US layout.

Re: An interactive 19-lesson course to master VSCode's keyboard shortcuts

#7

Doesn't seem to work for me with Chrome on macos - Not sure what's the deal is - It shows me 4 empty rectangles and expects me to do something - potentially in the keyboard input field. However if I press for example CMD + P obviously it tries to print - So it doesn't catch the shortcuts.

Hmm, I think Chrome on macOS is probably the most common scenario and well tested.

Those 4 rectangles should contain the next 4 shortcuts that you have to type. Not sure how this could happen. If you don't mind, could you try with a different collection or lesson? Does the browser console show some errors?

Re: An interactive 19-lesson course to master VSCode's keyboard shortcuts

#8

I've also spent a bit of time practicing Sublime shortcuts using https://www.shortcutfoo.com/ Are there other sites like these that people prefer? Also -- VSCode's shortcuts seem to map 1-to-1 to Sublime's. Is that possible? Is there a lineage of "who inspired who" e.g., for instance, who was the first to come up with ctrl/cmd-P for quick open by name and ctrl/cmd-shift-P for the command palette?

> Also -- VSCode's shortcuts seem to map 1-to-1 to Sublime's. Is that possible?

One difference I know is that putting a cursor at the end of each line is cmd+shift+L on Sublime and opt+shift+I on VSCode: minor, but some things don't overlap. VSCode does offer to install a sublime-keymap extension when launched if you have Sublime which configures it to be more sublime-like.

> who was the first to come up with ctrl/cmd-P for quick open by name and ctrl/cmd-shift-P

Sublime has been around longer than VSC so most things would have gone Sublime -> VSC. I recall the cmd+p being a novel and strong selling point for Sublime for me.

Re: An interactive 19-lesson course to master VSCode's keyboard shortcuts

#10

I've also spent a bit of time practicing Sublime shortcuts using https://www.shortcutfoo.com/ Are there other sites like these that people prefer? Also -- VSCode's shortcuts seem to map 1-to-1 to Sublime's. Is that possible? Is there a lineage of "who inspired who" e.g., for instance, who was the first to come up with ctrl/cmd-P for quick open by name and ctrl/cmd-shift-P for the command palette?

shortcutFoo is definitely a nice alternative.

However, there are a few things that I think KeyCombiner does better. I am very biased though ;)

- You can edit any combination in your lessons or personal collections. So, if you bind some VSCode bindings to keys that you are used to from Sublime, that's not a problem.

- There are quite sophisticated statistics regarding your practice performance. Most importantly, a confidence value for every combination

- You can create your own collections to practice by copying from public collections, manually defining your own combinations, doing CSV import,...

- There is a desktop app that mitigates conflicts with browser (extension) shortcuts

- The desktop app has an instant lookup feature that shows you the shortcuts of the current app (+ current browser tab on macOS), and all the combinations in your personal collection and lessons. You can trigger the instant lookup from anywhere via a global shortcut, so you don't need to leave your current context.

Post reply on HN