Hide search highlight in VSCode Vim
I've found an answer:
in settings.json
"vim.normalModeKeyBindingsNonRecursive": [
{
"before":["<C-n>"],
"after":[],
"commands": [
{
"command": ":nohl"
}
]
}
]
Alternately, you can also just set vim.hlsearch
to false.
You can also just bind it to escape, which isn't bound to anything in normal mode.
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": [
"<Esc>"
],
"commands": [
":nohl"
],
}
]