74th / vscode-vim

vim emulator for Visual Studio Code
MIT License
215 stars 25 forks source link

Is it possible for the vimStyle.enabled option to work real-time? #77

Open samueltlg opened 5 years ago

samueltlg commented 5 years ago

Hi there,

I like to use this extension but unfortunately for this version of VSCode vim and the other popular ones which feature the repeat (N) command, typing in insert mode ramps up the CPU to unusable levels. The only possibility for me being able to use a vim extension (with a repeat command) in VS code is to disable the extension when entering insert mode. Unfortunately, this setting fails to work for me, with all of the Vim modes still operating when 'vimStyle.enabled' is set to false. Is there any possible fix for this?

EDIT: I have just noticed that the option does in fact work, but only when reloading the window or restarting VS code vim. I guess this is then a feature request, is it possible for this option to work real-time? Such that having the setting changed (in this case I have a settings toggle extension in VS code) to false or true enables or disables as much of the functionality upon the saving of the settings file, instead of having to restart VS code?

Many thanks, Sam