Y
Hacker News
new
|
ask
|
show
|
jobs
by
mblood
3380 days ago
The vscode-vim extension does support the : operator, as well as :wq.
2 comments
flukus
3380 days ago
Does it support remapping? I always have ';' and ':' swapped and very few emulators support this. (VSVim does now).
link
mblood
3380 days ago
Yes. It has support for mapping keys in any mode to any action. For instance:
"vim.otherModesKeyBindingsNonRecursive": [{ "before": [";"], "after": [":"] }]
This, placed in settings.json, does what you requested.
link
flukus
3380 days ago
quite a bit more verbose than "nnoremap ; :".
link
nikcub
3380 days ago
Thanks, i'll have to try it out again
link