Go: Back
nav.backJump back to the previous cursor location in the navigation history.
How to run it
Open the command palette and search for Go: Back, then press Enter. The palette opens with M-x in Emacs, Ctrl+Shift+P in CUA, Sublime Text and VS Code, and Ctrl+Shift+A in IntelliJ IDEA (⇧⌘P and ⇧⌘A on macOS). It also has a default keybinding:
| Keymap | Windows / Linux | macOS |
|---|---|---|
| Emacs | M-, | M-, |
| CUA | Ctrl+Alt+Left | ⌘[ |
| Sublime Text | Alt+- | ⌃- |
| VS Code | Ctrl+Alt+- | ⌃- |
| IntelliJ IDEA | Ctrl+Alt+Left | ⌥⌘←or⌘[ |