Skip to content

Instantly share code, notes, and snippets.

@uonr
Created January 28, 2024 20:39
Show Gist options
  • Save uonr/b793324d63c2ef3de897a411cb28b946 to your computer and use it in GitHub Desktop.
Save uonr/b793324d63c2ef3de897a411cb28b946 to your computer and use it in GitHub Desktop.
VSCode Vim Settings
{
"vim.leader": " ",
"vim.useSystemClipboard": true,
"vim.incsearch": true,
"vim.hlsearch": true,
"vim.sneakUseIgnorecaseAndSmartcase": true,
"vim.easymotionMarkerForegroundColorOneChar": "#EA89FF",
"vim.visualModeKeyBindings": [
{
"before": ["<tab>"],
"after": ["<Leader>", "<Leader>"]
},
{
"before": ["<Leader>", "/"],
"after": ["g", "c"]
},
{
"before": [">"],
"commands": ["editor.action.indentLines"]
},
{
"before": ["<"],
"commands": ["editor.action.outdentLines"]
},
{
"before": ["<C-x>"],
"commands": ["editor.action.clipboardCutAction"]
},
{
"before": ["<C-Insert>"],
"after": ["y"]
},
{
"before": ["<S-Insert>"],
"after": ["p"]
}
],
"vim.normalModeKeyBindings": [
{
"before": ["s"],
"after": ["<Leader>", "<Leader>", "2", "s"]
},
{
"before": ["<tab>"],
"after": ["<Leader>", "<Leader>"]
},
{
"before": ["<Leader>", "/"],
"after": ["g", "c", "c"]
},
{
"before": ["<Leader>", "g"],
"commands": [
{
"command": "editor.action.revealDefinition"
}
]
},
{
"before": ["<Leader>", "r"],
"commands": [
{
"command": "editor.action.rename"
}
]
},
{
"before": ["<Leader>", "d"],
"commands": [
{
"command": "editor.action.peekDefinition"
}
]
}
],
"vim.insertModeKeyBindings": [
{
"before": ["<C-x>"],
"command": ["editor.action.clipboardCutAction"]
}
],
"vim.handleKeys": {
"<C-d>": true,
"<C-f>": true,
"<C-z>": true,
"<C-a>": false
},
"vim.autoSwitchInputMethod.enable": false,
"vim.easymotion": true,
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment