Skip to content

Instantly share code, notes, and snippets.

@huynle
Last active November 18, 2019 23:43
Show Gist options
  • Save huynle/69bdcd4afae680eae3a2b6f82d62ea21 to your computer and use it in GitHub Desktop.
Save huynle/69bdcd4afae680eae3a2b6f82d62ea21 to your computer and use it in GitHub Desktop.
vs code settings
{
"window.menuBarVisibility": "default",
"editor.fontSize": 12,
"window.zoomLevel": 0,
"editor.minimap.enabled": false,
"breadcrumbs.enabled": true,
"workbench.activityBar.visible": false,
"workbench.statusBar.visible": true,
"workbench.sideBar.location": "left",
"zenMode.hideStatusBar": false,
"zenMode.hideTabs": false,
"git.ignoreLegacyWarning": true,
"python.jediEnabled": false,
"search.useIgnoreFiles": true,
"vim.easymotion": true,
"vim.sneak": true,
"vim.sneakUseIgnorecaseAndSmartcase": true,
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindings": [
{
"before": ["j", "k"],
"after": ["<Esc>"]
}
],
"vim.leader": "<space>",
"vim.handleKeys": {
"<C-a>": false,
"<C-f>": false,
},
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["s", "v"],
"commands": ["workbench.action.splitEditorRight"],
},
{
"before": ["s", "g"],
"commands": ["workbench.action.splitEditorDown"],
},
{
"before": ["<C-n>"],
"commands": [":nohl"]
},
{
"before": ["Z", "Z"],
"commands": [":wq"]
},
{
"before": ["H"],
"after": ["g", "T"]
},
{
"before": ["L"],
"after": ["g", "t"]
},
{
"before": ["q"],
"commands": [":q"]
},
{
"before": ["<leader>", "e"],
"commands": ["workbench.files.action.focusFilesExplorer"],
"when": ["editorTextFocus && !editorReadonly"]
},
{
"before": ["<leader>", "g"],
"commands": ["workbench.action.quickOpen"],
"when": ["editorTextFocus && !editorReadonly"]
},
{
"before": ["<leader>", "f"],
"commands": ["workbench.files.action.showActiveFileInExplorer"],
"when": ["editorTextFocus && !editorReadonly"]
},
{
"before": ["<leader>", "v"],
"commands": ["editor.action.commentLine"],
"when": ["editorTextFocus && !editorReadonly"]
},
{
"before": ["<leader>", "o"],
"commands": ["outline.focus"],
"when": ["editorTextFocus && !editorReadonly"]
},
],
"vim.visualModeKeyBindingsNonRecursive": [
{
"before": [">"],
"commands": ["editor.action.indentLines"]
},
{
"before": ["<leader>", "d"],
"after": ["y", "P"]
},
{
"before": ["<"],
"commands": ["editor.action.outdentLines"]
},
{
"before": ["<leader>", "v"],
"commands": ["editor.action.commentLine"],
"when": ["editorTextFocus && !editorReadonly"]
},
],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment