-
-
Save theicfire/dc3f7f8c9a19467643a58dff22eb00d9 to your computer and use it in GitHub Desktop.
vscode_vim_settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// See the VIM extension docs for more details | |
"vim.leader": "<space>", | |
"vim.sneak": true, | |
"vim.incsearch": true, | |
"vim.useSystemClipboard": true, | |
"vim.useCtrlKeys": true, | |
"vim.hlsearch": true, | |
"vim.visualModeKeyBindingsNonRecursive": [ | |
{ | |
// By default, "p" in visual mode will copy whatever text was replaced. To prevent this, after pasting, select the newly replaced text and copy it. | |
"before": [ | |
"p" | |
], | |
"after": [ | |
"p", | |
"g", | |
"v", | |
"y" | |
] | |
}, | |
// Bind > and < in visual mode to indent/outdent lines (repeatable) | |
{ | |
"before": [ | |
">" | |
], | |
"commands": [ | |
"editor.action.indentLines" | |
] | |
}, | |
{ | |
"before": [ | |
"<" | |
], | |
"commands": [ | |
"editor.action.outdentLines" | |
] | |
} | |
], | |
"vim.normalModeKeyBindingsNonRecursive": [ | |
// Turn off VIM's search highlighting | |
{ | |
"before": [ | |
"<leader>", | |
"s", | |
"h" | |
], | |
"commands": [ | |
":nohl" | |
] | |
}, | |
], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment