-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I bind ; to :? #492
Comments
I think it's a remapping feature @johnfn is working on or already finished? |
You can add this to your settings.json: "vim.otherModesKeyBindings": [
{ "before": [";"], "after": [":"]}
] I have just checked it works, although... A problem with this is |
@jkurei it's a little bit out of my Vim knowledge, does Vim have this feature as well and should it only work on Normal Mode? |
@rebornix yeah. In Vim you can map anything and specify in which modes you want it to work, but they don't work in the ex-commands line nor searches (unless, may be, you specify so? idk). I have several of such bindings (in real Vim) and they never apply in searching. I have just tested out that the same goes for the remap @ScenK wants to do, just to be sure. If you don't know the ex menu, It's kind of the grandfather of the Cmd+Shift+P menu that Sublime/Atom/VSCode use today, and it's usually accessed with the If you wanna check this out, just add |
Just in case someone else finds this bug and tries to fix it, the solution shown above doesn't work (anymore?). Here's what worked as of July 2019: "vim.normalModeKeyBindings": [
{ "before": [";"], "after": [":"]}
], |
Is that a configuration for binding ; to :?
The text was updated successfully, but these errors were encountered: