aioutecism / amVim-for-VSCode

The Vim mode for Visual Studio Code(vscode) that works as expected.
https://marketplace.visualstudio.com/items/auiworks.amvim
456 stars 42 forks source link

[Feature] Toggle Binding #329

Open nicoandmee opened 8 months ago

nicoandmee commented 8 months ago

Awesome extension! The only thing missing in my view is an option to configure a toggle binding for the extension. Not sure if this is possible.

alisonatwork commented 8 months ago

Do you mean a key binding that would be some kind of "global toggle" that completely disables vim mode until that key binding is hit again?

I feel like that should be built into VSCode somehow, but I can't find anything. There is a toggler plugin: https://github.com/rebornix/vscode-toggle (https://marketplace.visualstudio.com/items?itemName=rebornix.toggle) but without a clear action to bind it to, I'm not sure it can target an individual extension.

Do you have an example of another extension which implements this functionality inside the extension?