Skip to content

Instantly share code, notes, and snippets.

@mogelbrod
Last active April 13, 2023 11:47
Show Gist options
  • Save mogelbrod/bb25223e4983ed2b7affc781d3697e55 to your computer and use it in GitHub Desktop.
Save mogelbrod/bb25223e4983ed2b7affc781d3697e55 to your computer and use it in GitHub Desktop.
VSCode settings
[
// Focus previous/next split using cmd (mac) or ctrl (others) + left/right
{
"key": "ctrl+left",
"command": "workbench.action.focusPreviousGroup",
"when": "!isMac && editorTextFocus && vim.active && vim.mode != 'Insert'",
},
{
"key": "cmd+left",
"command": "workbench.action.focusPreviousGroup",
"when": "editorTextFocus && vim.active && vim.mode != 'Insert'",
},
{
"key": "ctrl+right",
"command": "workbench.action.focusNextGroup",
"when": "!isMac && editorTextFocus && vim.active && vim.mode != 'Insert'",
},
{
"key": "cmd+right",
"command": "workbench.action.focusNextGroup",
"when": "editorTextFocus && vim.active && vim.mode != 'Insert'",
},
// Focus Nth tab using cmd+N (mac) and ctrl+N (others)
{
"key": "ctrl+1",
"command": "workbench.action.openEditorAtIndex1",
"when": "!isMac",
},
{
"key": "ctrl+2",
"command": "workbench.action.openEditorAtIndex2",
"when": "!isMac",
},
{
"key": "ctrl+3",
"command": "workbench.action.openEditorAtIndex3",
"when": "!isMac",
},
{
"key": "ctrl+4",
"command": "workbench.action.openEditorAtIndex4",
"when": "!isMac",
},
{
"key": "ctrl+5",
"command": "workbench.action.openEditorAtIndex5",
"when": "!isMac",
},
{
"key": "ctrl+6",
"command": "workbench.action.openEditorAtIndex6",
"when": "!isMac",
},
{
"key": "ctrl+7",
"command": "workbench.action.openEditorAtIndex7",
"when": "!isMac",
},
{
"key": "ctrl+8",
"command": "workbench.action.openEditorAtIndex8",
"when": "!isMac",
},
{
"key": "ctrl+9",
"command": "workbench.action.lastEditorInGroup",
"when": "!isMac",
},
{
"key": "ctrl+f7",
"command": "editor.action.inspectTMScopes",
"when": "!isMac",
},
{
"key": "cmd+1",
"command": "workbench.action.openEditorAtIndex1",
},
{
"key": "cmd+2",
"command": "workbench.action.openEditorAtIndex2",
},
{
"key": "cmd+3",
"command": "workbench.action.openEditorAtIndex3",
},
{
"key": "cmd+4",
"command": "workbench.action.openEditorAtIndex4",
},
{
"key": "cmd+5",
"command": "workbench.action.openEditorAtIndex5",
},
{
"key": "cmd+6",
"command": "workbench.action.openEditorAtIndex6",
},
{
"key": "cmd+7",
"command": "workbench.action.openEditorAtIndex7",
},
{
"key": "cmd+8",
"command": "workbench.action.openEditorAtIndex8",
},
{
"key": "cmd+9",
"command": "workbench.action.lastEditorInGroup",
},
// Git/github related commands chorded by Cmd + G
{
"key": "ctrl+g r",
"command": "gitlens.openRepoInRemote",
"when": "!isMac && editorFocus"
},
{
"key": "cmd+g r",
"command": "gitlens.openRepoInRemote",
"when": "editorFocus"
},
{
"key": "ctrl+g f",
"command": "gitlens.openFileRevisionFrom",
"when": "!isMac && editorFocus"
},
{
"key": "cmd+g f",
"command": "gitlens.openFileRevisionFrom",
"when": "editorFocus"
},
{
"key": "ctrl+g ctrl+f",
"command": "gitlens.showCommitSearch",
"when": "!isMac",
},
{
"key": "cmd+g cmd+f",
"command": "gitlens.showCommitSearch",
},
{
"key": "ctrl+g /",
"command": "gitlens.showCommitSearch",
"when": "!isMac",
},
{
"key": "cmd+g /",
"command": "gitlens.showCommitSearch",
},
{
"key": "ctrl+g d",
"command": "gitlens.diffWithRevision",
"when": "!isMac && editorFocus"
},
{
"key": "cmd+g d",
"command": "gitlens.diffWithRevision",
"when": "editorFocus"
},
{
"key": "ctrl+g h",
"command": "gitlens.showQuickFileHistory",
"when": "!isMac && editorFocus"
},
{
"key": "cmd+g h",
"command": "gitlens.showQuickFileHistory",
"when": "editorFocus"
},
{
"key": "ctrl+g c",
"command": "workbench.action.addComment",
"when": "!isMac && editorFocus"
},
{
"key": "cmd+g c",
"command": "workbench.action.addComment",
"when": "editorFocus"
},
{
"key": "ctrl+g s",
"command": "extension.multiCommand.execute",
"args": {
"sequence": [
"editor.action.clipboardCopyAction",
"workbench.action.addComment"
],
},
"when": "!isMac && editorFocus"
},
{
"key": "cmd+g s",
"command": "extension.multiCommand.execute",
"args": {
"sequence": [
"editor.action.clipboardCopyAction",
"workbench.action.addComment"
],
},
"when": "editorFocus"
},
{
"key": "ctrl+g ctrl+c",
"command": "workbench.action.expandAllComments",
"when": "!isMac",
},
{
"key": "cmd+g cmd+c",
"command": "workbench.action.expandAllComments"
},
{
"key": "ctrl+g [",
"command": "editor.action.previousCommentThreadAction",
"when": "!isMac && editorFocus"
},
{
"key": "cmd+g [",
"command": "editor.action.previousCommentThreadAction",
"when": "editorFocus"
},
{
"key": "ctrl+g ]",
"command": "editor.action.nextCommentThreadAction",
"when": "!isMac && editorFocus"
},
{
"key": "cmd+g ]",
"command": "editor.action.nextCommentThreadAction",
"when": "editorFocus"
},
{
"key": "ctrl+g w",
"command": "git.stage",
"when": "!isMac && editorFocus"
},
{
"key": "cmd+g w",
"command": "git.stage",
"when": "editorFocus"
},
{
"key": "cmd+g cmd+w",
"command": "git.stage",
"when": "editorFocus"
},
{
"key": "ctrl+g v",
"command": "pr.markFileAsViewed",
"when": "!isMac",
},
{
"key": "cmd+g v",
"command": "pr.markFileAsViewed",
},
{
"key": "ctrl+g p",
"command": "extension.multiCommand.execute",
"args": {
"interval": 50, // appears necessary for workbench.action.focusActiveEditorGroup to work
"sequence": [
"list.focusUp",
"list.selectAndPreserveFocus",
"workbench.action.focusActiveEditorGroup"
],
},
"when": "!isMac"
},
{
"key": "cmd+g p",
"command": "extension.multiCommand.execute",
"args": {
"interval": 50, // appears necessary for workbench.action.focusActiveEditorGroup to work
"sequence": [
"list.focusUp",
"list.selectAndPreserveFocus",
"workbench.action.focusActiveEditorGroup"
],
},
},
{
"key": "ctrl+g n",
"command": "extension.multiCommand.execute",
"args": {
"interval": 50, // appears necessary for workbench.action.focusActiveEditorGroup to work
"sequence": [
"list.focusDown",
"list.selectAndPreserveFocus",
"workbench.action.focusActiveEditorGroup"
],
},
"when": "!isMac"
},
{
"key": "cmd+g n",
"command": "extension.multiCommand.execute",
"args": {
"interval": 50, // appears necessary for workbench.action.focusActiveEditorGroup to work
"sequence": [
"list.focusDown",
"list.selectAndPreserveFocus",
"workbench.action.focusActiveEditorGroup"
],
},
},
// Toggle file explorer with cmd+e
{
"key": "ctrl+e",
"command": "workbench.files.action.showActiveFileInExplorer",
"when": "!isMac && viewContainer.workbench.view.explorer.enabled && editorFocus"
},
{
"key": "cmd+e",
"command": "workbench.files.action.showActiveFileInExplorer",
"when": "viewContainer.workbench.view.explorer.enabled && editorFocus"
},
{
"key": "ctrl+e",
"command": "workbench.files.action.focusFilesExplorer",
"when": "!isMac && viewContainer.workbench.view.explorer.enabled && !editorFocus",
},
{
"key": "cmd+e",
"command": "workbench.files.action.focusFilesExplorer",
"when": "viewContainer.workbench.view.explorer.enabled && !editorFocus",
},
{
"key": "ctrl+e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "!isMac && viewContainer.workbench.view.explorer.enabled && explorerViewletVisible && sideBarFocus && !inputFocus && !textInputFocus && !renameInputVisible"
},
{
"key": "cmd+e",
"command": "workbench.action.toggleSidebarVisibility",
"when": "viewContainer.workbench.view.explorer.enabled && explorerViewletVisible && sideBarFocus && !inputFocus && !textInputFocus && !renameInputVisible"
},
{
"key": "cmd+r",
"command": "workbench.action.debug.start",
"when": "debuggersAvailable && debugState == 'inactive' && !inDebugMode"
},
{
"key": "cmd+r",
"command": "workbench.action.debug.restart",
"when": "inDebugMode"
},
{
"key": "ctrl+[Semicolon]",
"command": "workbench.action.terminal.toggleTerminal",
"when": "!isMac && terminal.active"
},
{
"key": "cmd+[Semicolon]",
"command": "workbench.action.terminal.toggleTerminal",
"when": "terminal.active"
},
{
"key": "ctrl+.",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "soundtrackyourbrand"
},
"when": "!isMac && terminalFocus && terminalHasBeenCreated || !isMac && terminalFocus && terminalProcessSupported"
},
{
"key": "cmd+.",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "soundtrackyourbrand"
},
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "cmd+left",
"command": "workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "cmd+right",
"command": "workbench.action.terminal.focusNextPane",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
// Cmd+T / Cmd+D opens new terminals
{
"key": "ctrl+t",
"command": "workbench.action.terminal.newWithCwd",
"when": "!isMac && terminalFocus && terminalProcessSupported || !isMac && terminalFocus && terminalWebExtensionContributedProfile"
},
{
"key": "cmd+t",
"command": "workbench.action.terminal.newWithCwd",
"when": "terminalFocus && terminalProcessSupported || terminalFocus && terminalWebExtensionContributedProfile"
},
{
"key": "ctrl+d",
"command": "workbench.action.terminal.split",
"when": "!isMac && terminalFocus && terminalProcessSupported || !isMac && terminalFocus && terminalWebExtensionContributedProfile"
},
{
"key": "cmd+d",
"command": "workbench.action.terminal.split",
"when": "terminalFocus && terminalProcessSupported || terminalFocus && terminalWebExtensionContributedProfile"
},
// Cmd+W closes the active terminal
{
"key": "ctrl+shift+w",
"command": "workbench.action.terminal.kill",
"when": "!isMac && terminalFocus && terminalHasBeenCreated || !isMac && terminalFocus && terminalProcessSupported"
},
{
"key": "cmd+w",
"command": "workbench.action.terminal.kill",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+w",
"command": "workbench.action.togglePanel",
"when": "!isMac && !terminalFocus && panelFocus"
},
{
"key": "cmd+w",
"command": "workbench.action.togglePanel",
"when": "!terminalFocus && panelFocus"
},
// Cmd+L clears terminal/repl/output
{
"key": "ctrl+l",
"command": "workbench.action.terminal.clear",
"when": "!isMac && terminalFocus && terminalHasBeenCreated || !isMac && terminalFocus && terminalProcessSupported"
},
{
"key": "cmd+shift+l",
"command": "workbench.action.terminal.clear",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "cmd+l",
"command": "workbench.action.terminal.clear",
"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
"key": "ctrl+l",
"command": "workbench.debug.panel.action.clearReplAction",
"when": "!isMac && inDebugRepl"
},
{
"key": "cmd+shift+l",
"command": "workbench.debug.panel.action.clearReplAction",
"when": "inDebugRepl"
},
{
"key": "cmd+l",
"command": "workbench.debug.panel.action.clearReplAction",
"when": "inDebugRepl"
},
{
"key": "ctrl+l",
"command": "workbench.output.action.clearOutput",
"when": "!isMac && panelFocus && activePanel == 'workbench.panel.output'"
},
{
"key": "cmd+shift+l",
"command": "workbench.output.action.clearOutput",
"when": "panelFocus && activePanel == 'workbench.panel.output'"
},
{
"key": "cmd+l",
"command": "workbench.output.action.clearOutput",
"when": "panelFocus && activePanel == 'workbench.panel.output'"
},
{
"key": "k",
"command": "cursorMove",
"args": {
"to": "up"
},
"when": "panelFocus && activePanel == 'workbench.panel.output' && !findInputFocussed"
},
{
"key": "j",
"command": "cursorMove",
"args": {
"to": "down"
},
"when": "panelFocus && activePanel == 'workbench.panel.output' && !findInputFocussed"
},
{
"key": "shift+g",
"command": "cursorBottom",
"when": "panelFocus && activePanel == 'workbench.panel.output' && !findInputFocussed"
},
// SCM - Staging & discarding changes
{
"key": "ctrl+s",
"command": "git.stage",
"when": "!isMac && sideBarFocus && activeViewlet == 'workbench.view.scm' && !inputFocus",
},
{
"key": "cmd+s",
"command": "git.stage",
"when": "sideBarFocus && activeViewlet == 'workbench.view.scm' && !inputFocus",
},
{
"key": "ctrl+z",
"command": "git.unstage",
"when": "!isMac && sideBarFocus && activeViewlet == 'workbench.view.scm' && !inputFocus",
},
{
"key": "cmd+z",
"command": "git.unstage",
"when": "sideBarFocus && activeViewlet == 'workbench.view.scm' && !inputFocus",
},
{
"key": "ctrl+x",
"command": "git.clean",
"when": "!isMac && sideBarFocus && activeViewlet == 'workbench.view.scm' && !inputFocus",
},
{
"key": "cmd+x",
"command": "git.clean",
"when": "sideBarFocus && activeViewlet == 'workbench.view.scm' && !inputFocus",
},
// Explorer - managing files
{
"key": ", d",
"command": "deleteFile",
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
},
{
"key": ", m",
"command": "fileutils.moveFile",
"when": "explorerViewletVisible && filesExplorerFocus && !inputFocus"
},
{
"key": ", a",
"command": "explorer.newFile",
"when": "explorerViewletFocus && explorerViewletVisible && !inputFocus"
},
{
"key": ", f",
"command": "explorer.newFolder",
"when": "explorerViewletFocus && explorerViewletVisible && !inputFocus"
},
{
"key": ", s",
"command": "explorer.openToSide",
"when": "explorerViewletFocus && explorerViewletVisible && !inputFocus"
},
{
"key": ", y",
"command": "copyRelativeFilePath",
"when": "explorerViewletFocus && explorerViewletVisible && !inputFocus"
},
{
"key": "enter",
"command": "extension.multiCommand.execute",
"args": {
"sequence": [
"filesExplorer.openFilePreserveFocus",
"workbench.view.explorer"
],
},
"when": "explorerViewletFocus && explorerViewletVisible && !inputFocus"
},
// Sidebar hotkeys
{
"key": "ctrl+w",
"command": "workbench.action.focusFirstEditorGroup",
// "when": "sideBarFocus && !inputFocus"
"when": "sideBarFocus"
},
{
"key": "escape",
"command": "workbench.action.toggleSidebarVisibility",
// Close except for when any toggled input is focused
"when": "!explorerViewletVisible && sideBarFocus && !inputFocus && !textInputFocus && !renameInputVisible || filesExplorerFocus && !inputFocus && !textInputFocus && !renameInputVisible || openEditorsFocus && !renameInputVisible || searchViewletFocus"
},
{
"key": "ctrl+shift+f",
"command": "workbench.action.replaceInFiles",
"when": "!isMac",
},
{
"key": "cmd+shift+f",
"command": "workbench.action.replaceInFiles"
},
{
"key": "ctrl+h",
"command": "workbench.action.replaceInFiles",
"when": "sideBarFocus"
},
{
"key": "ctrl+shift+g",
"command": "workbench.view.scm",
"when": "!isMac",
},
{
"key": "cmd+shift+g",
"command": "workbench.view.scm",
},
{
"key": "ctrl+shift+h",
"command": "prStatus:github.focus",
"when": "!isMac",
},
{
"key": "cmd+shift+h",
"command": "prStatus:github.focus",
},
{
"key": "ctrl+shift+j",
"command": "workbench.view.extension.github-pull-requests",
"when": "!isMac",
},
{
"key": "cmd+shift+j",
"command": "workbench.view.extension.github-pull-requests",
},
// Make ctrl+j / ctrl+k navigate lists in Quick open, suggest widget, parameter hints & code actions
{
"key": "ctrl+j",
"command": "workbench.action.quickOpenSelectNext",
"when": "inQuickOpen"
},
{
"key": "ctrl+k",
"command": "workbench.action.quickOpenSelectPrevious",
"when": "inQuickOpen"
},
{
"key": "ctrl+j",
"command": "selectNextSuggestion",
"when": "suggestWidgetVisible"
},
{
"key": "ctrl+k",
"command": "selectPrevSuggestion",
"when": "suggestWidgetVisible"
},
{
"key": "ctrl+j",
"command": "showNextParameterHint",
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
},
{
"key": "ctrl+k",
"command": "showPrevParameterHint",
"when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible"
},
{
"key": "ctrl+j",
"command": "selectNextCodeAction",
"when": "codeActionMenuVisible"
},
{
"key": "ctrl+k",
"command": "selectPrevCodeAction",
"when": "codeActionMenuVisible"
},
{
"key": "shift+alt+]",
"command": "editor.action.inlineSuggest.showNext",
"when": "inlineSuggestionVisible && !editorReadonly"
},
{
"key": "alt+]", // collides with key combination to enter ^ on custom keyboard
"command": "-editor.action.inlineSuggest.showNext",
"when": "inlineSuggestionVisible && !editorReadonly"
},
// Other widgets
{
"key": "/",
"command": "list.find",
"when": "listFocus && listSupportsFind && !inputFocus"
},
{
"key": "enter",
"command": "list.closeFind",
"when": "listFocus && treeFindOpen && inputFocus"
},
{
"key": "tab",
"command": "togglePeekWidgetFocus",
"when": "inReferenceSearchEditor && vim.active && vim.mode != 'Insert' || referenceSearchVisible"
},
// Cmd+K hotkeys
{
"key": "cmd+k cmd+s",
"command": "workbench.action.files.saveWithoutFormatting"
},
// Misc editor hotkeys
{
"key": "cmd+shift+r",
"command": "workbench.action.tasks.runTask"
},
{
"key": "cmd+alt+;",
"command": "workbench.action.toggleMaximizedPanel"
},
{
"key": "escape",
"command": "-workbench.action.hideComment",
"when": "commentEditorFocused"
},
{
"key": "shift+escape",
"command": "workbench.action.hideComment",
"when": "commentEditorFocused"
},
{
"key": "ctrl+b",
"command": "-extension.vim_ctrl+b",
"when": "editorTextFocus && vim.active && vim.use<C-b> && !inDebugRepl && vim.mode != 'Insert'"
},
{
"key": "ctrl+d",
"command": "-extension.vim_ctrl+d",
"when": "editorTextFocus && vim.active && vim.use<C-d> && !inDebugRepl"
},
{
"key": "ctrl+p",
"command": "extension.vim_ctrl+p",
"when": "textInputFocus"
},
{
"key": "ctrl+n",
"command": "extension.vim_ctrl+n",
"when": "textInputFocus"
},
{
"key": "cmd+f7",
"command": "editor.action.inspectTMScopes",
},
{
"key": "cmd+t",
"command": "workbench.action.openView"
},
{
"key": "cmd+t",
"command": "-workbench.action.showAllSymbols"
},
{
"key": "cmd+g b",
"command": "gitlens.toggleFileBlame",
"when": "editorTextFocus && config.gitlens.keymap == 'chorded' && gitlens:activeFileStatus =~ /blameable/"
},
{
"key": "ctrl+b",
"command": "markdown.extension.editing.toggleBold",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^markdown$|^rmd$|^qmd$/"
},
{
"key": "cmd+b",
"command": "-markdown.extension.editing.toggleBold",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^markdown$|^rmd$|^qmd$/"
},
{
"key": "ctrl+i",
"command": "markdown.extension.editing.toggleItalic",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^markdown$|^rmd$|^qmd$/"
},
{
"key": "cmd+i",
"command": "-markdown.extension.editing.toggleItalic",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^markdown$|^rmd$|^qmd$/"
},
{
"key": "ctrl+shift+e",
"command": "markdown.extension.editing.toggleCodeBlock",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^markdown$|^rmd$|^qmd$/"
},
{
"key": "ctrl+e",
"command": "markdown.extension.editing.toggleCodeSpan",
"when": "editorTextFocus && !editorReadonly && editorLangId =~ /^markdown$|^rmd$|^qmd$/"
},
{
"key": "shift+cmd+o",
"command": "workbench.action.showAllSymbols",
"when": "editorFocus"
},
{
"key": "cmd+y",
"command": "workbench.action.gotoSymbol"
},
{
"key": "shift+cmd+o",
"command": "-workbench.action.gotoSymbol"
},
]
{
"editor.autoClosingDelete": "always",
"editor.formatOnSave": false,
"editor.guides.indentation": false,
"editor.inlineSuggest.enabled": true,
"editor.minimap.maxColumn": 90,
"editor.occurrencesHighlight": false,
"editor.renderWhitespace": "trailing",
"editor.tabSize": 2,
"editor.wordWrap": "off",
"git.autofetch": true,
"git.confirmSync": false,
"github.copilot.enable": {
"*": true,
"yaml": false,
"plaintext": false,
"markdown": false,
},
"githubPullRequests.fileListLayout": "tree",
"gitlens.codeLens.enabled": false,
"gitlens.hovers.avatars": false,
"gitlens.autolinks": [
{
"prefix": "SOU-",
"url": "https://favro.com/organization/86ba35bfb4e08917e2b8226e/?card=Sou-<num>",
"alphanumeric": false
},
{
"prefix": "BUSINESS-",
"url": "https://sentry.io/organizations/syb/issues/?project=71664&query=BUSINESS-<num>",
"ignoreCase": true,
"alphanumeric": true
},
],
"gitlens.defaultDateFormat": null,
"gitlens.defaultDateShortFormat": "YYYY-MM-DD",
"gitlens.defaultTimeFormat": "HH:mm",
"markdown.extension.italic.indicator": "_",
"markdownlint.run": "onSave",
"markdownlint.config": {
"MD004": false,
"MD022": {
"lines_above": 1,
"lines_below": 0
},
"MD025": false,
"MD028": false,
"MD031": false,
"MD033": false,
"MD049": false,
},
"react-native-tools.networkInspector.consoleLogsColorTheme": "Dark",
"terminal.integrated.minimumContrastRatio": 3,
"window.newWindowDimensions": "maximized",
"workbench.startupEditor": "none",
"workbench.tree.indent": 16,
"workbench.colorCustomizations": {
"[Default Dark+]": {
"diffEditor.insertedLineBackground": "#2b3b2766",
"diffEditor.removedLineBackground": "#3e202266",
"diffEditor.insertedTextBackground": "#32482b88",
"diffEditor.removedTextBackground": "#5a2b2b88",
"peekViewEditor.matchHighlightBackground": "#171a12",
"editor.background": "#1E1E1E"
},
"statusBar.background": "#005f5f",
"statusBar.noFolderBackground": "#005f5f",
"statusBar.debuggingBackground": "#005f5f"
},
"editor.tokenColorCustomizations": {
"comments": "#787878",
"functions": "#ed7874",
"keywords": "#af6a26",
"numbers": "#eb8be9",
"strings": "#f5b1f3",
"types": "#b0e68e",
"variables": "#d2d2d2",
// "semanticHighlighting": false,
"textMateRules": [
{
"scope": "punctuation.definition.template-expression.begin",
"settings": {
"foreground": "#cca4ff"
}
},
{
"scope": "keyword.operator",
"settings": {
"foreground": "#af6a26"
}
},
{
"scope": "keyword.operator.expression",
"settings": {
"foreground": "#af6a26"
}
},
{
"scope": "keyword.control.from",
"settings": {
"foreground": "#69c1e2"
}
},
{
"scope": "keyword.control.as",
"settings": {
"foreground": "#69c1e2"
}
},
{
"scope": "keyword.control.import",
"settings": {
"foreground": "#69c1e2"
}
},
{
"scope": "keyword.control.export",
"settings": {
"foreground": "#69c1e2"
}
},
{
"scope": "support.class",
"settings": {
"foreground": "#ed7874"
}
},
{
"scope": "entity.other.attribute-name",
"settings": {
"foreground": "#b0e68e"
}
},
{
"scope": "constant.language",
"settings": {
"foreground": "#b8ff8c"
}
},
],
},
"editor.semanticTokenColorCustomizations": {
"rules": {
"variable": "#d2d2d2",
"parameter.declaration": "#acbdff",
"variable.declaration": "#acbdff",
"builtinConstant": "#b0e68e",
}
},
"vim.history": 500,
"vim.leader": ",",
"vim.useSystemClipboard": true,
"vim.useCtrlKeys": true,
"vim.normalModeKeyBindings": [],
"vim.normalModeKeyBindingsNonRecursive": [
// { "before": [":"], "commands": ["workbench.action.quickOpen"] }, // : commonly used on sv-SE keyboard
{
"before": [
";"
],
"after": [
":"
]
},
{
"before": [
"ö"
],
"after": [
":"
]
},
{
"before": [
"Ö"
],
"after": [
":"
]
},
{
"before": [
"'"
],
"after": [
"`"
]
},
{
"before": [
"`"
],
"after": [
"'"
]
},
{
"before": [
"j"
],
"after": [
"g",
"j"
]
},
{
"before": [
"k"
],
"after": [
"g",
"k"
]
},
{
"before": [
"u"
],
"commands": [
"undo"
]
},
{
"before": [
"<c-r>"
],
"commands": [
"redo"
]
},
{
"before": [
"<up>"
],
"after": [
"g",
"k"
]
},
{
"before": [
"<down>"
],
"after": [
"g",
"j"
]
},
{
"before": [
"<tab>"
],
"commands": [
"editor.action.indentLines"
]
},
{
"before": [
"<s-tab>"
],
"commands": [
"editor.action.outdentLines"
]
},
{
"before": [
"[",
"c"
],
"commands": [
"editor.action.previousCommentThreadAction"
]
},
{
"before": [
"]",
"c"
],
"commands": [
"editor.action.nextCommentThreadAction"
]
},
{
"before": [
"[",
"d"
],
"commands": [
"workbench.action.compareEditor.previousChange"
]
},
{
"before": [
"]",
"d"
],
"commands": [
"workbench.action.compareEditor.nextChange"
]
},
{
"before": [
"[",
"e"
],
"commands": [
"editor.action.marker.prevInFiles"
]
},
{
"before": [
"]",
"e"
],
"commands": [
"editor.action.marker.nextInFiles"
]
},
{
"before": [
"[",
"f"
],
"commands": [
"search.action.focusPreviousSearchResult"
]
},
{
"before": [
"]",
"f"
],
"commands": [
"search.action.focusNextSearchResult"
]
},
{
"before": [
"d",
"p"
],
"commands": [
"git.stageSelectedRanges"
]
},
{
"before": [
"d",
"o"
],
"commands": [
"git.unstageSelectedRanges"
]
},
{
"before": [
"d",
"r"
],
"commands": [
"git.revertSelectedRanges"
]
},
{
"before": [
"c",
"r",
" "
],
"commands": [
"extension.changeCase.no"
]
},
{
"before": [
"c",
"r",
"-"
],
"commands": [
"extension.changeCase.kebab"
]
},
{
"before": [
"c",
"r",
"_"
],
"commands": [
"extension.changeCase.snake"
]
},
{
"before": [
"c",
"r",
"c"
],
"commands": [
"extension.changeCase.camel"
]
},
{
"before": [
"c",
"r",
"p"
],
"commands": [
"extension.changeCase.pascal"
]
},
{
"before": [
"c",
"r",
"s"
],
"commands": [
"extension.changeCase.sentence"
]
},
{
"before": [
"c",
"r",
"t"
],
"commands": [
"extension.changeCase.title"
]
},
{
"before": [
"c",
"r",
"u"
],
"commands": [
"extension.changeCase.constant"
]
},
{
"before": [
"g",
"d"
],
"commands": [
"editor.action.peekDefinition"
]
},
{
"before": [
"g",
"D"
],
"commands": [
"editor.action.revealDefinition"
]
},
{
"before": [
"g",
"h"
],
"commands": [
"editor.action.showDefinitionPreviewHover"
]
},
{
"before": [
"g",
"r"
],
"commands": [
"editor.action.goToReferences"
]
},
{
"before": [
"g",
"R"
],
"commands": [
"editor.action.referenceSearch.trigger"
]
}, // seems identical to editor.action.goToReferences
{
"before": [
"g",
"t"
],
"commands": [
"editor.action.showHover"
]
},
{
"before": [
"g",
"y"
],
"commands": [
"workbench.action.showAllSymbols"
]
},
{
"before": [
"g",
"p"
],
"after": [
"V",
"'",
"]",
"k"
]
},
{
"before": [
"z",
"m"
],
"commands": [
"editor.foldAllMarkerRegions"
]
},
{
"before": [
"z",
"r"
],
"commands": [
"editor.unfoldAllMarkerRegions"
]
},
{
"before": [
"<c-h>"
],
"after": [
"v",
"i",
"w"
],
"commands": [
"editor.action.startFindReplaceAction"
]
},
{
"before": [
"<c-j>"
],
"after": [
"<c-d>"
]
},
{
"before": [
"<c-k>"
],
"after": [
"<c-u>"
]
},
{
"before": [
"<c-n>"
],
"commands": [
{
"command": ":set hlsearch!"
}
]
},
{
"before": [
"<c-p>"
],
"commands": [
"workbench.action.quickOpen"
]
},
{
"before": [
"<c-u>"
],
"after": [
"<c-t>"
]
},
{
"before": [
"<c-w>",
"1"
],
"commands": [
"workbench.action.editorLayoutSingle"
]
},
{
"before": [
"<c-w>",
"b"
],
"commands": [
"workbench.action.focusPanel"
]
},
{
"before": [
"<c-w>",
"d"
],
"commands": [
"workbench.action.focusOtherSideEditor"
]
},
{
"before": [
"<c-w>",
"f"
],
"commands": [
"gitlens.openWorkingFile"
]
},
// { "before": [ "<c-w>", "f" ], "commands": [ "git.openFile" ] },
{
"before": [
"<c-w>",
"g"
],
"commands": [
"git.openChange"
]
},
{
"before": [
"<c-w>",
"c"
],
"commands": [
"workbench.action.closeActiveEditor"
]
},
{
"before": [
"<c-w>",
"<space>"
],
"commands": [
"workbench.action.toggleSplitEditorInGroup"
]
},
{
"before": [
"<c-w>",
"<enter>"
],
"commands": [
"workbench.action.maximizeEditor"
]
},
{
"before": [
"<c-w>",
"<s-h>"
],
"commands": [
"workbench.action.moveActiveEditorGroupLeft"
]
},
{
"before": [
"<c-w>",
"<s-j>"
],
"commands": [
"workbench.action.moveActiveEditorGroupDown"
]
},
{
"before": [
"<c-w>",
"<s-k>"
],
"commands": [
"workbench.action.moveActiveEditorGroupUp"
]
},
{
"before": [
"<c-w>",
"<s-l>"
],
"commands": [
"workbench.action.moveActiveEditorGroupRight"
]
},
{
"before": [
"<leader>",
"7"
],
"commands": [
"editor.action.commentLine"
]
},
{
"before": [
"<leader>",
"i"
],
"commands": [
"editor.action.smartSelect.expand"
]
},
{
"before": [
"<leader>",
"f"
],
"commands": [
"editor.action.quickFix"
]
},
{
"before": [
"<leader>",
"<leader>",
"f"
],
"commands": [
{
"command": "extension.multiCommand.execute",
"args": {
"interval": 200,
"sequence": [
"editor.action.organizeImports",
"eslint.executeAutofix",
"eslint.executeAutofix",
"workbench.action.files.save"
],
},
}
]
},
{
"before": [
"<leader>",
"g"
],
"after": [
"v",
"i",
"w"
],
"commands": [
"workbench.action.findInFiles"
]
},
{
"before": [
"<leader>",
"h"
],
"after": [
"v",
"i",
"w"
],
"commands": [
"workbench.action.replaceInFiles"
]
},
// { "before": [ "<leader>", "p" ], "commands": [ "workbench.action.quickOpen" ] },
{
"before": [
"<leader>",
"p"
],
"commands": [
"quickOpener.show"
]
},
{
"before": [
"<leader>",
"r"
],
"commands": [
"editor.action.rename"
]
},
{
"before": [
"<leader>",
"x"
],
"commands": [
"workbench.actions.view.problems"
]
},
{
"before": [
"<leader>",
"y",
"g"
],
"commands": [
"gitlens.copyRemoteFileUrlToClipboard"
]
},
{
"before": [
"<leader>",
"y",
"a"
],
"after": [
"g",
"g",
"y",
"G",
"<c-o>",
"z",
"."
]
},
{
"before": [
"<leader>",
"t",
"c"
],
"commands": [
"testing.runAtCursor"
]
},
{
"before": [
"<leader>",
"t",
"f"
],
"commands": [
"testing.runCurrentFile"
]
},
{
"before": [
"<leader>",
"t",
"a"
],
"commands": [
"testing.runAll"
]
},
{
"before": [
"<leader>",
"%"
],
"commands": [
"editor.emmet.action.matchTag"
]
},
{
"before": [
"<leader>",
"$"
],
"commands": [
{
"command": "editor.actions.findWithArgs",
"args": {
"searchString": "\\s+$",
"isRegex": true,
"replaceString": ""
}
},
"editor.action.replaceAll",
"closeFindWidget"
]
},
],
"vim.visualModeKeyBindingsNonRecursive": [
{
"before": [
";"
],
"after": [
":"
]
},
{
"before": [
"ö"
],
"after": [
":"
]
},
{
"before": [
"Ö"
],
"after": [
":"
]
},
{
"before": [
"<c-h>"
],
"commands": [
"editor.action.startFindReplaceAction"
]
},
{
"before": [
"<c-w>",
"1"
],
"commands": [
"workbench.action.editorLayoutSingle"
]
},
{
"before": [
"<c-w>",
"b"
],
"commands": [
"workbench.action.focusPanel"
]
},
{
"before": [
"<c-w>",
"d"
],
"commands": [
"workbench.action.focusOtherSideEditor"
]
},
{
"before": [
"<c-w>",
"f"
],
"commands": [
"gitlens.openWorkingFile"
]
},
// { "before": [ "<c-w>", "f" ], "commands": [ "git.openFile" ] },
{
"before": [
"<c-w>",
"g"
],
"commands": [
"git.openChange"
]
},
{
"before": [
"<c-w>",
"c"
],
"commands": [
"workbench.action.closeActiveEditor"
]
},
{
"before": [
"<c-w>",
"<space>"
],
"commands": [
"workbench.action.toggleSplitEditorInGroup"
]
},
{
"before": [
"<c-w>",
"<s-h>"
],
"commands": [
"workbench.action.moveActiveEditorGroupLeft"
]
},
{
"before": [
"<c-w>",
"<s-j>"
],
"commands": [
"workbench.action.moveActiveEditorGroupDown"
]
},
{
"before": [
"<c-w>",
"<s-k>"
],
"commands": [
"workbench.action.moveActiveEditorGroupUp"
]
},
{
"before": [
"<c-w>",
"<s-l>"
],
"commands": [
"workbench.action.moveActiveEditorGroupRight"
]
},
{
"before": [
"<leader>",
"g"
],
"commands": [
"workbench.action.findInFiles"
]
},
{
"before": [
"<leader>",
"h"
],
"commands": [
"workbench.action.replaceInFiles"
]
},
{
"before": [
"<leader>",
"7"
],
"commands": [
"editor.action.commentLine"
]
},
{
"before": [
"<leader>",
"%"
],
"commands": [
"editor.emmet.action.matchTag"
]
},
{
"before": [
"<leader>",
"y",
"g"
],
"commands": [
"gitlens.copyRemoteFileUrlToClipboard"
]
},
{
"before": [
"<tab>"
],
"commands": [
"editor.action.indentLines"
]
},
{
"before": [
"<s-tab>"
],
"commands": [
"editor.action.outdentLines"
]
},
{
"before": [
"d",
"p"
],
"commands": [
"git.stageSelectedRanges"
]
},
{
"before": [
"d",
"o"
],
"commands": [
"git.unstageSelectedRanges"
]
},
{
"before": [
"d",
"r"
],
"commands": [
"git.revertSelectedRanges"
]
},
{
"before": [
"c",
"r",
" "
],
"commands": [
"extension.changeCase.no"
]
},
{
"before": [
"c",
"r",
"-"
],
"commands": [
"extension.changeCase.kebab"
]
},
{
"before": [
"c",
"r",
"_"
],
"commands": [
"extension.changeCase.snake"
]
},
{
"before": [
"c",
"r",
"c"
],
"commands": [
"extension.changeCase.camel"
]
},
{
"before": [
"c",
"r",
"p"
],
"commands": [
"extension.changeCase.pascal"
]
},
{
"before": [
"c",
"r",
"s"
],
"commands": [
"extension.changeCase.sentence"
]
},
{
"before": [
"c",
"r",
"t"
],
"commands": [
"extension.changeCase.title"
]
},
{
"before": [
"c",
"r",
"u"
],
"commands": [
"extension.changeCase.constant"
]
},
{
"before": [
"g",
"<s-S>"
],
"commands": [
{
"command": "extension.splitLine",
"args": {
"separator": ",",
"breakStartEnd": true,
"breakBeforeSeparator": false
}
}
]
},
// { "before": [ "z", "f" ], "commands": [ "editor.fold" ] }, // throws error ATM
],
"vim.insertModeKeyBindings": [],
"vim.insertModeKeyBindingsNonRecursive": [
// { "before": [ "<down>" ], "commands": [ "<C-o>", "g", "j" ] }, // Doesn't appear to work
// { "before": [ "<up>" ], "commands": [ "<C-o>", "g", "k" ] },
{
"before": [
"<c-e>"
],
"commands": [
"editor.emmet.action.expandAbbreviation"
]
},
{
"before": [
"<c-h>"
],
"commands": [
"editor.action.showHover"
]
},
],
"search.showLineNumbers": true,
"telemetry.telemetryLevel": "error",
"sortJSON.contextMenu": {
"sortJSONKeyLength": false,
"sortJSONKeyLengthReverse": false,
"sortJSONValues": false,
"sortJSONValuesReverse": false,
"sortJSONType": false,
"sortJSONTypeReverse": false
},
"search-json-path": {
"enable": true,
"codeLenses": {
"enable": false
},
"prefixAndSuffix": [
[
"t('",
"'"
],
[
"t(`",
"`"
],
],
},
"auto-close-tag.SublimeText3Mode": true,
"auto-close-tag.insertSpaceBeforeSelfClosingTag": true,
"debug.openDebug": "neverOpen",
"editor.minimap.enabled": false,
"git.allowNoVerifyCommit": true,
"git.fetchOnPull": true,
"git.inputValidationSubjectLength": 90,
"githubIssues.createInsertFormat": "url",
"gitlens.advanced.fileHistoryFollowsRenames": true,
"gitlens.defaultGravatarsStyle": "wavatar",
"gitlens.showWelcomeOnInstall": false,
"gitlens.showWhatsNewAfterUpgrades": false,
"javascript.format.semicolons": "remove",
"react-native-tools.showUserTips": false,
"scm.showActionButton": false,
"settingsSync.keybindingsPerPlatform": false,
"terminal.integrated.cursorBlinking": true,
"workbench.editor.enablePreviewFromCodeNavigation": true,
"workbench.editor.enablePreviewFromQuickOpen": true,
"workbench.editor.focusRecentEditorAfterClose": false,
"workbench.editor.highlightModifiedTabs": true,
"workbench.editor.pinnedTabSizing": "shrink",
"workbench.editor.tabSizing": "shrink",
"editor.unicodeHighlight.allowedCharacters": {
"’": true
},
"redhat.telemetry.enabled": false,
"terminal.external.osxExec": "iTerm.app",
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"typescript.updateImportsOnFileMove.enabled": "always",
"editor.showFoldingControls": "never",
"scm.diffDecorationsGutterWidth": 2,
"vim.showMarksInGutter": true,
"terminal.integrated.scrollback": 50000,
"githubPullRequests.notifications": "pullRequests",
"githubPullRequests.pullBranch": "never",
"git.autoStash": true,
"react-native.packager.status-indicator": "Short",
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"quickOpener.exclude": [
".git",
".DS_Store",
"node_modules"
],
"debug.onTaskErrors": "showErrors",
"editor.autoSurround": "brackets",
"extensions.experimental.affinity": {
"vscodevim.vim": 1
},
"quickOpener.fallbackDirectory": "~/src",
"vim.smartcase": false,
"vim.ignorecase": false,
"githubPullRequests.terminalLinksHandler": "github",
"jest.showTerminalOnLaunch": false,
// "jest.autoRun": { "watch": false, "onSave": "test-src-file" },
"jest.autoRun": "off",
"testing.openTesting": "neverOpen",
"testing.automaticallyOpenPeekView": "never",
"vim.argumentObjectClosingDelimiters": [
")",
"]",
"}"
],
"vim.argumentObjectOpeningDelimiters": [
"(",
"[",
"{"
],
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.suggest.localityBonus": true,
"editor.suggest.preview": true,
"editor.suggest.showStatusBar": true,
"diffEditor.ignoreTrimWhitespace": false,
"markdown.extension.toc.levels": "1..4",
"git.confirmNoVerifyCommit": false,
"prettier.semi": false,
"prettier.singleQuote": true,
"prettier.trailingComma": "all",
"explorer.autoReveal": false,
"explorer.fileNesting.expand": false,
"gitlens.views.searchAndCompare.files.layout": "tree",
"[typescriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"eslint.lintTask.enable": true,
"testExplorer.codeLens": false,
"testExplorer.useNativeTesting": true,
"debug.console.acceptSuggestionOnEnter": "on",
"cSpell.userWords": [
"autolinks",
"codegen",
"denorm",
"outdent",
"refetches",
"scrollback",
"sonos",
"soundtrackyourbrand",
"unpair",
"unstage"
],
"cSpell.enabledLanguageIds": [
"markdown",
"jsonc",
],
"cSpell.languageSettings": [
{
"languageId": "json",
"ignoreRegExpList": [
"/\"[^\" ]+\":/g"
]
},
{
"languageId": "jsonc",
"ignoreRegExpList": [
"/\"[^\" ]+\":/g"
]
}
],
"terminal.integrated.defaultProfile.windows": "Git Bash",
"rest-client.enableTelemetry": false,
"rest-client.logLevel": "info",
"rest-client.timeoutinmilliseconds": 60000,
// "eslint.run": "onSave",
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment