Skip to content

Instantly share code, notes, and snippets.

@jakeleboeuf
Last active April 28, 2017 15:00
Show Gist options
  • Save jakeleboeuf/fdc86084b5d0c6c305003323d44fb0d1 to your computer and use it in GitHub Desktop.
Save jakeleboeuf/fdc86084b5d0c6c305003323d44fb0d1 to your computer and use it in GitHub Desktop.
VS Code User Settings (cmd + ,)
// Place your settings in this file to overwrite the default settings
{
"files.autoSave": "off",
"vim.easymotion": true,
"vim.incsearch": true,
"vim.useSystemClipboard": true,
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindings": [
{
"before": ["j","j"],
"after": ["<Esc>"]
}
],
"vim.otherModesKeyBindingsNonRecursive": [
// Focus Termnial
{
"before": ["<leader>","`"],
"after": [],
"commands": [
{
"command": "workbench.action.terminal.focus"
}
]
},
// Delete
{
"before": ["<leader>","d"],
"after": ["d", "d"]
},
// Save
{
"before": ["leader", "s"],
"after": [],
"commands": [
{
"command": "workbench.action.files.save"
}
]
},
// Focus file explorer
{
"before": ["leader", "f"],
"commands": [
{
"command": "workbench.files.action.focusFilesExplorer"
}
]
},
// Focus Terminal
{
"before": ["leader", "`"],
"commands": [
{
"command": "workbench.action.terminal.focus"
}
]
},
// Fuzzy search
{
"before": ["leader", "t"],
"commands": [
{
"command": "workbench.action.quickOpen"
}
]
},
// Toggle Line Comment
{
"before": ["leader", "c"],
"commands": [
{
"command": "editor.action.commentLine"
}
]
},
// Toggle Block Comment
{
"before": ["leader", "C"],
"commands": [
{
"command": "editor.action.blockComment"
}
]
}
],
"vim.leader": "<space>",
"vim.handleKeys":{
"<C-a>": false,
"<C-f>": false
},
"editor.wordWrap": "off",
"files.exclude": {
"**/.gitkeep": true,
"**/tmp": true,
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true
},
"editor.fontFamily": "'Source Code Pro for Powerline','DejaVu Sans Mono', Menlo, 'Lucida Console', monospace",
"workbench.colorTheme": "Visual Studio Dark",
"editor.fontSize": 12,
"terminal.external.osxExec": "Hyper.app"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment