Skip to content

Instantly share code, notes, and snippets.

@sjdonado
Created May 14, 2021 13:52
Show Gist options
  • Save sjdonado/fbda2ee6ceca450294903df6d5841654 to your computer and use it in GitHub Desktop.
Save sjdonado/fbda2ee6ceca450294903df6d5841654 to your computer and use it in GitHub Desktop.
Custom vscodevim config
{
"vim.leader": "<Space>",
"vim.visualModeKeyBindings": [
{
"before": [
">"
],
"commands": [
"editor.action.indentLines"
]
},
{
"before": [
"<"
],
"commands": [
"editor.action.outdentLines"
]
},
],
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": ["<C-h>"],
"after": ["<C-w>", "h"]
},
{
"before": ["<C-j>"],
"after": ["<C-w>", "j"]
},
{
"before": ["<C-k>"],
"after": ["<C-w>", "k"]
},
{
"before": ["<C-l>"],
"after": ["<C-w>", "l"]
},
{
"before": ["<Leader>", "t", "t"],
"commands": [":tabnew"]
},
{
"before": ["<Leader>", "t", "n"],
"commands": [":tabnext"]
},
{
"before": ["<Leader>", "t", "p"],
"commands": [":tabprev"]
},
{
"before": ["<Leader>", "t", "o"],
"commands": [":tabo"]
},
{
"before": ["<Leader>", "b"],
"commands": ["editor.debug.action.toggleBreakpoint"]
},
{
"before": ["<Leader>", "r"],
"commands": ["git.revertSelectedRanges"]
}
],
"vim.sneak": true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment