Skip to content

Instantly share code, notes, and snippets.

@VadimBrodsky
Last active October 26, 2021 16:20
Show Gist options
  • Save VadimBrodsky/d11c7b85385ccbe6c9ec8c671a65c91c to your computer and use it in GitHub Desktop.
Save VadimBrodsky/d11c7b85385ccbe6c9ec8c671a65c91c to your computer and use it in GitHub Desktop.
vscode settings
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+h",
"command": "workbench.action.focusLeftGroup"
},
{
"key": "ctrl+j",
"command": "workbench.action.focusAboveGroup"
},
{
"key": "ctrl+k",
"command": "workbench.action.focusBelowGroup"
},
{
"key": "ctrl+l",
"command": "workbench.action.focusRightGroup"
},
{
"key": "ctrl+shift+h",
"command": "workbench.action.moveActiveEditorGroupLeft"
},
{
"key": "ctrl+shift+j",
"command": "workbench.action.moveActiveEditorGroupDown"
},
{
"key": "ctrl+shift+k",
"command": "workbench.action.moveActiveEditorGroupUp"
},
{
"key": "ctrl+shift+l",
"command": "workbench.action.moveActiveEditorGroupRight"
}
]
{
"files.insertFinalNewline": true,
"breadcrumbs.enabled": false,
"editor.cursorStyle": "block",
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.fontFamily": "Cascadia Code, FIra Mono, Menlo, Monaco, 'Courier New', monospace",
"editor.fontSize": 12,
"editor.minimap.enabled": false,
"editor.renderWhitespace": "all",
"editor.rulers": [
120
],
"editor.suggestSelection": "first",
"editor.tabSize": 2,
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 100,
"editor.bracketPairColorization.enabled": true,
"workbench.colorTheme": "Visual Studio Dark",
"workbench.editor.showTabs": false,
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"webhint.enableTelemetry": "disabled",
"prettier.enableDebugLogs": true,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"vim.useSystemClipboard": false,
"vim.leader": "<space>",
"vim.foldfix": true,
"vim.normalModeKeyBindings": [
{
"before": [ "0" ],
"commands": ["cursorHome"]
},
{
"before": [ "<Tab>" ],
"after": [ "%" ]
},
{
"before": [ "<leader>", "f", "s" ],
"commands": [ "workbench.action.files.save" ]
},
{
"before": ["<leader>", "-"],
"commands": ["workbench.action.splitEditorDown"]
},
{
"before": ["<leader>", "/"],
"commands": ["workbench.action.splitEditorRight"]
},
{
"before": ["<leader>", "0"],
"commands": ["workbench.action.toggleEditorWidths"]
},
{
"before": ["<leader>", "="],
"commands": ["workbench.action.evenEditorWidths"]
},
{
"before": ["<leader>", "+"],
"commands": ["workbench.action.increaseViewSize"]
},
{
"before": ["<leader>", "_"],
"commands": ["workbench.action.decreaseViewSize"]
},
{
"before": ["<leader>", "v", "s"],
"commands": ["workbench.action.toggleSidebarVisibility"]
},
{
"before": ["<leader>", "v", "b"],
"commands": ["workbench.action.toggleActivityBarVisibility"]
},
{
"before": ["<leader>", "v", "t"],
"commands": ["workbench.action.terminal.toggleTerminal"]
}
],
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": [ "<leader>", "d" ],
"after": [ "d", "d" ]
},
{
"before": [ "<C-n>" ],
"commands": [ ":nohl" ]
},
{
"before": [ "<leader>", "p", "f" ],
"commands": [ "workbench.action.quickOpen" ]
},
{
"before": [ "<leader>", "b", "b" ],
"commands": [ "workbench.action.showAllEditorsByMostRecentlyUsed" ]
}
],
"vim.insertModeKeyBindings": [
{
"before": [ "j", "k" ],
"after": [ "<Esc>" ]
},
{
"before": [ "k", "j" ],
"after": [ "<Esc>" ]
}
],
"vim.visualModeKeyBindings": [
{
"before": [ ">" ],
"commands": [ "editor.action.indentLines" ]
},
{
"before": [ "<" ],
"commands": [ "editor.action.outdentLines" ]
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment