Skip to content

Instantly share code, notes, and snippets.

@theicfire

theicfire/settings.json5 Secret

Last active Apr 30, 2021
Embed
What would you like to do?
vscode_vim_settings
{
// 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