Set vscode navigate backwards to be scoped to the editor.

This commit is contained in:
Tom Alexander
2025-08-27 20:33:24 -04:00
parent 5b487330e1
commit 11436c0efe
3 changed files with 19 additions and 1 deletions

View File

@@ -20,6 +20,12 @@
"command": "-workbench.action.navigateBack",
"when": "canNavigateBack"
},
{
// This isn't quite right. In emacs it would go back to the last location you performed an action which could include navigation. This goes back to the place where you last changed the text. Either way, close enough.
"key": "ctrl+x ctrl+x",
"command": "workbench.action.navigateToLastEditLocation",
"when": "canNavigateToLastEditLocation"
},
{
"key": "shift+alt+/",
"command": "editor.action.goToReferences",