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

Does it support remapping? I always have ';' and ':' swapped and very few emulators support this. (VSVim does now).
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.
quite a bit more verbose than "nnoremap ; :".
Thanks, i'll have to try it out again