Reputation: 4601
Do you happen to know how to go back ( and further back ) to the previous cursor locations in Visual Code Editor?
So far, what I do is a quick "undo" and "redo" just to see where I was but this is not only stupid but also extremely limited as it can go back to only to the last cursor position and not unable to go further back.
Use Case Scenario:
Let's keep it there, for now.
Here is the deal:
How do you go back to where you were a few steps back so that the following is possible;
You do your keyboard-combo and you are first taken back to line 200 and then you do the combo again, you are now at 100 and finally you made your way back to #1.
Upvotes: 0
Views: 702
Reputation: 761
On Windows:
Alt+← = navigate back
Alt+→ = navigate forward
On Mac:
^ control+- = navigate back
^ control+⌘ command+- = navigate forward
On Ubuntu Linux:
Ctrl+Alt+- = navigate back
Ctrl+Shift+- = navigate forward
Upvotes: 1
Reputation: 4601
For the mac, that would be CTRL -
for the backward and CTRL SHIFT -
for the forward. The -
means the minus key.
Upvotes: 0