When I use vim, I set my custom settings in ~/.vimrc
like this:
command Noh noh
command NOh noh
command NOH noh
so that I can execute :noh
, :NOh
or :NOH
, which would work just like :nohl
.
Now I'm working with Vscode and I installed the plugin vscodevim 1.20.2. I want to make the same settings but I don't know how. I've tried as below but it's not working:
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": [
":NOH"
],
"after": [],
"commands": [
{
"command": ":nohl",
"args": []
}
]
}
]