Skip to content

Instantly share code, notes, and snippets.

@yunlingz
Created June 7, 2020 05:25
Show Gist options
  • Select an option

  • Save yunlingz/b6826146922b078ec4d5b4f566b0cc4d to your computer and use it in GitHub Desktop.

Select an option

Save yunlingz/b6826146922b078ec4d5b4f566b0cc4d to your computer and use it in GitHub Desktop.
{
// --- vim settings ---
// "vim.disableExtension": false,
"vim.useSystemClipboard": true,
"vim.hlsearch": true,
"vim.insertModeKeyBindings": [
{
"before": [
"j",
"j"
],
"after": [
"<Esc>"
]
}
],
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": [
";"
],
"after": [
":"
]
},
{
"before": [
":"
],
"after": [
";"
]
},
{
"before": [
"<leader>",
"["
],
"commands": [
":q"
]
},
{
"before": [
"<leader>",
"w"
],
"commands": [
":wa"
]
},
{
"before": [
"<leader>",
"f"
],
"commands": [
"editor.action.formatDocument"
]
}
],
"vim.visualModeKeyBindingsNonRecursive": [
{
"before": [
";"
],
"after": [
":"
]
},
{
"before": [
":"
],
"after": [
";"
]
},
{
"before": [
">"
],
"commands": [
"editor.action.indentLines"
]
},
{
"before": [
"<"
],
"commands": [
"editor.action.outdentLines"
]
},
],
"vim.leader": "<space>",
"vim.handleKeys": {
"<C-a>": false,
"<C-f>": false
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment