Set vscode navigate backwards to be scoped to the editor.
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
|
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
|
||||||
bh = log --oneline --branches=* --remotes=* --graph --decorate
|
bh = log --oneline --branches=* --remotes=* --graph --decorate
|
||||||
amend = commit --amend --no-edit
|
amend = commit --amend --no-edit
|
||||||
|
authorcount = shortlog --summary --numbered --all --no-merges
|
||||||
[core]
|
[core]
|
||||||
excludesfile = ~/.gitignore_global
|
excludesfile = ~/.gitignore_global
|
||||||
[commit]
|
[commit]
|
||||||
|
|||||||
@@ -20,6 +20,12 @@
|
|||||||
"command": "-workbench.action.navigateBack",
|
"command": "-workbench.action.navigateBack",
|
||||||
"when": "canNavigateBack"
|
"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+/",
|
"key": "shift+alt+/",
|
||||||
"command": "editor.action.goToReferences",
|
"command": "editor.action.goToReferences",
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
"workbench.editor.showTabs": "none",
|
"workbench.editor.showTabs": "none",
|
||||||
"workbench.activityBar.location": "hidden",
|
"workbench.activityBar.location": "hidden",
|
||||||
"window.menuBarVisibility": "toggle",
|
"window.menuBarVisibility": "toggle",
|
||||||
|
"window.commandCenter": false,
|
||||||
"explorer.autoReveal": false,
|
"explorer.autoReveal": false,
|
||||||
"[python]": {
|
"[python]": {
|
||||||
"editor.defaultFormatter": "ms-python.black-formatter",
|
"editor.defaultFormatter": "ms-python.black-formatter",
|
||||||
@@ -35,11 +36,21 @@
|
|||||||
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
"editor.formatOnSave": true
|
"editor.formatOnSave": true
|
||||||
},
|
},
|
||||||
|
"[typescriptreact]": {
|
||||||
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
||||||
|
"editor.formatOnSave": true
|
||||||
|
},
|
||||||
|
"javascript.autoClosingTags": false,
|
||||||
|
"typescript.autoClosingTags": false,
|
||||||
"black-formatter.importStrategy": "fromEnvironment",
|
"black-formatter.importStrategy": "fromEnvironment",
|
||||||
"workbench.statusBar.visible": false,
|
"workbench.statusBar.visible": false,
|
||||||
"git.openRepositoryInParentFolders": "never",
|
"git.openRepositoryInParentFolders": "never",
|
||||||
"files.autoSave": "afterDelay",
|
"files.autoSave": "afterDelay",
|
||||||
"editor.rulers": [
|
"editor.rulers": [
|
||||||
100
|
100
|
||||||
]
|
],
|
||||||
|
"workbench.secondarySideBar.defaultVisibility": "hidden",
|
||||||
|
"editor.autoClosingBrackets": "never",
|
||||||
|
"editor.autoSurround": "never",
|
||||||
|
"workbench.editor.navigationScope": "editorGroup"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user