DEV Community

Discussion on: A day with only the keyboard - no mouse!

Collapse
 
itsjzt profile image
Saurabh Sharma • Edited

I was in a same situation for some time a few days back.

I can't even find the way for goToDefinition in VS code.

Going to a button was a lot of work. TAB TAB TAB SPACE

Jumpy helped in editor but there were a few things i can't do without mouse or trackpads.

Collapse
 
darksmile92 profile image
Robin Kretzschmar

Yes I can totally relate!
There are shortcuts we use very often in our favorite editor like Copy-Paste, Move a line up or down (Alt+Arrow up/down), duplicate a line (Alt+Shift+Arrow up/down) and opening a file (Ctrl+P) but there are a lot more shortcuts that could make us quicker or ease some tasks.

Finding those is most of the time a quick search with google away but like you said in times where we need the ones we don't use daily, it would be nice to know them right away.

A tip:
Did you know you can show the keyboard reference in visual studio code with a combination?
Ctrl+K Ctrl+R will bring up the keyboard reference as PDF file (opens the browser).