Skip to content

Instantly share code, notes, and snippets.

@ksrb
Created June 30, 2022 20:29
Show Gist options
  • Save ksrb/f37405221bc5e53d4fbdff2f8313f65f to your computer and use it in GitHub Desktop.
Save ksrb/f37405221bc5e53d4fbdff2f8313f65f to your computer and use it in GitHub Desktop.
{
"editor.autoClosingBrackets": "always",
"editor.fontSize": 12,
"editor.formatOnSave": true,
"editor.lineNumbers": "relative",
"editor.minimap.enabled": false,
"editor.rulers": [120],
"editor.tabSize": 2,
"explorer.autoReveal": true,
"files.trimTrailingWhitespace": true,
"terminal.external.osxExec": "iTerm.app",
"terminal.integrated.defaultProfile.linux": "tmux",
"terminal.integrated.defaultProfile.osx": "tmux",
"terminal.integrated.defaultProfile.windows": "zsh",
"terminal.integrated.profiles.windows": {
"zsh": {
"path": "C:\\tools\\cygwin\\bin\\zsh.exe"
}
},
"window.openFoldersInNewWindow": "on",
"window.title": "${rootName}${separator}${activeEditorMedium}",
"workbench.colorCustomizations": {
"statusBar.background": "#005f87",
"statusBar.noFolderBackground": "#005f87",
"statusBar.debuggingBackground": "#005f87"
},
"workbench.commandPalette.preserveInput": true,
"workbench.editor.enablePreview": false,
"workbench.quickOpen.preserveInput": true,
"workbench.settings.editor": "json",
"workbench.settings.openDefaultKeybindings": false,
"workbench.settings.openDefaultSettings": false,
"workbench.startupEditor": "none",
"vim.enableNeovim": true,
"vim.highlightedyank.enable": true,
"vim.highlightedyank.duration": 1000,
"vim.hlsearch": true,
"vim.leader": "<space>",
"vim.visualModeKeyBindingsNonRecursive": [
{
"before": ["<C-h>"],
"commands": ["workbench.action.navigateLeft"]
},
{
"before": ["<C-j>"],
"commands": ["workbench.action.navigateDown"]
},
{
"before": ["<C-k>"],
"commands": ["workbench.action.navigateUp"]
},
{
"before": ["<C-l>"],
"commands": ["workbench.action.navigateRight"]
},
{
"before": ["<C-w>", "H"],
"commands": ["workbench.action.moveEditorToLeftGroup"]
},
{
"before": ["<C-w>", "J"],
"commands": ["workbench.action.moveEditorToBelowGroup"]
},
{
"before": ["<C-w>", "K"],
"commands": ["workbench.action.moveEditorToAboveGroup"]
},
{
"before": ["<C-w>", "L"],
"commands": ["workbench.action.moveEditorToRightGroup"]
},
{
"before": ["<C-w>", "d", "h"],
"commands": ["workbench.action.splitEditorToLeftGroup"]
},
{
"before": ["<C-w>", "d", "j"],
"commands": ["workbench.action.splitEditorToBelowGroup"]
},
{
"before": ["<C-w>", "d", "k"],
"commands": ["workbench.action.splitEditorToAboveGroup"]
},
{
"before": ["<C-w>", "d", "l"],
"commands": ["workbench.action.splitEditorToRightGroup"]
},
{
"before": ["<Leader>", "<C-h>"],
"commands": ["workbench.action.findInFiles"]
},
{
"before": ["<Leader>", "<C-f>"],
"commands": ["actions.find"]
},
{
"before": ["<Leader>", "p"],
"after": ["\"", "+", "p"]
},
{
"before": ["<Leader>", "y"],
"after": ["\"", "+", "y"]
}
],
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["<C-h>"],
"commands": ["workbench.action.navigateLeft"]
},
{
"before": ["<C-j>"],
"commands": ["workbench.action.navigateDown"]
},
{
"before": ["<C-k>"],
"commands": ["workbench.action.navigateUp"]
},
{
"before": ["<C-l>"],
"commands": ["workbench.action.navigateRight"]
},
{
"before": ["<C-w>", "H"],
"commands": ["workbench.action.moveEditorToLeftGroup"]
},
{
"before": ["<C-w>", "J"],
"commands": ["workbench.action.moveEditorToBelowGroup"]
},
{
"before": ["<C-w>", "K"],
"commands": ["workbench.action.moveEditorToAboveGroup"]
},
{
"before": ["<C-w>", "L"],
"commands": ["workbench.action.moveEditorToRightGroup"]
},
{
"before": ["<C-w>", "d", "h"],
"commands": ["workbench.action.splitEditorToLeftGroup"]
},
{
"before": ["<C-w>", "d", "j"],
"commands": ["workbench.action.splitEditorToBelowGroup"]
},
{
"before": ["<C-w>", "d", "k"],
"commands": ["workbench.action.splitEditorToAboveGroup"]
},
{
"before": ["<C-w>", "d", "l"],
"commands": ["workbench.action.splitEditorToRightGroup"]
},
{
"before": ["<C-c>", "p", "p"],
"commands": ["workbench.action.openRecent"]
},
{
"before": ["<Leader>", "<C-e>"],
"commands": ["workbench.action.showAllEditorsByMostRecentlyUsed"]
},
{
"before": ["<Leader>", "<C-f>"],
"commands": ["actions.find"]
},
{
"before": ["<Leader>", "<C-g>"],
"commands": ["editor.action.referenceSearch.trigger"]
},
{
"before": ["<Leader>", "<C-h>"],
"commands": ["workbench.action.findInFiles"]
},
{
"before": ["<Leader>", "<Leader>"],
"commands": ["extension.vim_right"]
},
{
"before": ["<Leader>", "c", "o"],
"commands": ["workbench.action.closeOtherEditors"]
},
{
"before": ["<Leader>", "c", "t"],
"commands": ["workbench.action.closeEditorsInGroup"]
},
{
"before": ["<Leader>", "n"],
"commands": ["workbench.view.explorer"]
},
{
"before": ["<Leader>", "p"],
"after": ["\"", "+", "p"]
},
{
"before": ["<Leader>", "r"],
"commands": ["workbench.action.files.revert"]
},
{
"before": ["<Leader>", "s", "a"],
"commands": ["workbench.action.files.saveAll"]
},
{
"before": ["<Leader>", "y"],
"after": ["\"", "+", "y"]
}
],
"vim.smartcase": true,
"vim.textwidth": 120,
"vim.visualstar": true,
"vscode-neovim.neovimExecutablePaths.darwin": "/usr/local/bin/nvim",
"vscode-neovim.neovimExecutablePaths.linux": "/usr/local/bin/nvim",
"vscode-neovim.neovimExecutablePaths.win32": "C:\\ProgramData\\chocolatey\\bin\\nvim.exe",
"vscode-neovim.useWSL": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment