Skip to content

Instantly share code, notes, and snippets.

@AnsonH
Last active September 16, 2024 04:53
Show Gist options
  • Save AnsonH/b08e12f1fbdd633b4bfd63a7722e2736 to your computer and use it in GitHub Desktop.
Save AnsonH/b08e12f1fbdd633b4bfd63a7722e2736 to your computer and use it in GitHub Desktop.
{
"vim.smartRelativeLine": true,
"editor.cursorSurroundingLines": 8,
"editor.wordSeparators": "`~!@#$%^&*()=+[{]}\\|;:'\",.<>/?",
"vim.leader": "<space>",
"vim.normalModeKeyBindings": [
{
"before": ["<leader>", "e"],
"commands": ["workbench.view.explorer"]
},
{
"before": ["g", "p", "d"],
"commands": ["editor.action.peekDefinition"]
},
{
"before": ["g", "h"],
"commands": ["editor.action.showDefinitionPreviewHover"]
},
{
"before": ["g", "i"],
"commands": ["editor.action.goToImplementation"]
},
{
"before": ["g", "p", "i"],
"commands": ["editor.action.peekImplementation"]
},
{
"before": ["g", "q"],
"commands": ["editor.action.quickFix"]
},
{
"before": ["g", "r"],
"commands": ["editor.action.referenceSearch.trigger"]
},
{
"before": ["g", "t"],
"commands": ["editor.action.goToTypeDefinition"]
},
{
"before": ["g", "p", "t"],
"commands": ["editor.action.peekTypeDefinition"]
}
],
"vim.highlightedyank.enable": true,
"vim.highlightedyank.color": "#a9dc7660",
"vim.highlightedyank.duration": 250,
"vim.useSystemClipboard": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment