Skip to content

Instantly share code, notes, and snippets.

@toandaominh1997
Last active November 7, 2020 09:28
Show Gist options
  • Save toandaominh1997/ac3aa397bed74bb1c60c353ebcc0886f to your computer and use it in GitHub Desktop.
Save toandaominh1997/ac3aa397bed74bb1c60c353ebcc0886f to your computer and use it in GitHub Desktop.
{
//
// EDITOR CONFIG
//
"editor.fontSize": 12,
"editor.lineHeight": 0,
"editor.lineNumbers": true,
"editor.tabSize": 4,
//
// VIM CONFIG
//
"vim.enableNeovim": true,
"vim.neovimPath": "/usr/bin/nvim",
"vim.leader": ",",
"vim.hlsearch": true,
"vim.highlightedyank.enable": true,
"vim.easymotion": true,
"vim.useSystemClipboard": true,
"vim.vimrc.enable": true,
"vim.vimrc.path": "$HOME/.dotfiles/tool/vim/config.vim",
"vim.statusBarColorControl": true,
"vim.statusBarColors": {
"normal": "#005f5f",
"insert": "#5f0000",
"visual": "#5f00af",
"visualline": "#005f87",
"visualblock": "#86592d",
"replace": "#000000"
},
"workbench.colorCustomizations": {
"statusBar.background": "#005f87",
"statusBar.noFolderBackground": "#005f87",
"statusBar.debuggingBackground": "#005f87"
},
"workbench.iconTheme": "vscode-icons",
"tabnine.experimentalAutoImports": true,
"python.languageServer": "Microsoft",
"terminal.integrated.inheritEnv": false,
"vim.history": 5000,
"vim.smartcase": true,
"vim.autoindent": true,
"vim.smartRelativeLine": true,
"window.zoomLevel": 0,
{
"key": ["ctrl+w"],
"command": "workbench.action.focusActiveEditorGroup",
"when":"!terminalFocus"
},
"vim.insertModeKeyBindings": [
{
"before": ["j", "j"],
"after": ["<Esc>"]
}
],
"vim.normalModeKeyBindings": [
{
"before": ["<C-l>"],
"commands": [
"workbench.action.focusLeftGroup"
]
},
{
"before": ["<C-h>"],
"commands": [
"workbench.action.focusRightGroup"
]
},
{
"before": ["<C-k>"],
"commands": [
"workbench.action.focusAboveGroup"
]
},
{
"before": ["<C-j>"],
"commands": [
"workbench.action.focusBelowGroup"
]
},
{
"before": ["leader", "space"],
"commands": [
":nohl"
]
},
{
"before": ["leader", "w"],
"commands": [
"workbench.action.files.save"
]
},
{
"before": ["leader", "m"],
"commands": [
"editor.action.commentLine"
]
},
{
"before": ["<C-o>"],
"commands": [
"workbench.action.terminal.focus"
],
"when": "terminalFocus"
}
],
"vim.visualModeKeyBindings": [
{
"before": ["leader", "m"],
"commands": [
"editor.action.commentLine"
]
}
],
"files.autoSave": "onFocusChange",
// Terminal
"terminal.integrated.scrollback": 10000,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment