To navigate back to previous cursor position in VSCode, use following shortcut by OS:

Windows: Alt + Left
Linux: Ctrl + Alt + -
Mac: Ctrl + -

via @housecor

Leave a Reply

Your email address will not be published. Required fields are marked *