Skip to main content
Stack Overflow
  1. About
  2. For Teams

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Required fields*

How can I navigate back to the last cursor position in Visual Studio Code?

What is the keyboard shortcut to navigate back to the last cursor position in Visual Studio Code?

Answer*

Draft saved
Draft discarded
Cancel
7
  • 25
    Ctrl+Left and Ctrl+Right are reserved for switching between full-screens, aren't they? Commented Jul 19, 2017 at 2:51
  • 7
    @duong_dajgja I have that on Ctrl+Option+Command Left / Right. Most people will usually just use the three finger wipe on their Trackpad. I am not sure whats the "original" default in a fresh installed OS X Sierra though. At least there is nothing reserved in OS X. You can easily change that in the system preferences "keyboard -> mission control". Commented Jul 19, 2017 at 21:40
  • 6
    Use this to make those changes code.visualstudio.com/docs/getstarted/… Commented Nov 6, 2017 at 9:11
  • 1
    Is there a way I can assign my mouse forward and backward buttons to navigate? Commented Feb 23, 2020 at 17:42
  • 3
    Great answer. Also you can find it through File → Preferences → Keyboard Shortcuts then searching Go Back and Go Forward Commented Apr 9, 2022 at 16:19

AltStyle によって変換されたページ (->オリジナル) /