Discussion on: VS Code Shortcuts That I Would Teach Myself if I Had a Time Machine With Limited Fuel

eruizdechavez profile image
Erick Ruiz de Chavez

Specially useful when editing and jumping between files, or when for some reason you scrolled and changed your position and need to go back:

Go Back: Ctrl+-
Go Forward: Ctrl+Shift+-

You're welcome 😎.

Edit: And yes, it is Ctrl on all OS (Mac, Windows, Linux)

cyberhck profile image
Nishchal Gautam

I use forward and backward button on my mouse

rajatkantinandi profile image
Rajat Kanti Nandi

If you are on mac with touchbar you can also press the arrow keys in the touchbar. Super convenient.

vtrpldn profile image
Vitor Paladini Author

Man, I kid you not, that was literally my expression when I tried your suggestion.


Fantastic, never even knew that this kind of navigation was possible.

eruizdechavez profile image
Erick Ruiz de Chavez

I know, right!

I found this one a few months ago (can’t remember what I was looking for) and it became instantly one of my favorites.

high five