"Toggle Vim Mode" setting (enable/disable extension)

See original GitHub issue

I’m not sure if this is possible given the architecture of this plugin (ie, defers to an external instance of neovim for actual implementation), but it would be nice to have a programmable Toggle Vim Mode hotkey, similar to what is currently available in the vscodevim extension. There are a number of cases in which I would like to completely “disable” vim and go back to regular old VSCode editing, but this is not currently possible.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:27
  • Comments:5

github_iconTop GitHub Comments

8reactions
bencodesallcommented, Mar 8, 2022

+1 to this feature request!

Wonder is something like this is feasible:

  1. <command+shift+P> to bring up “command palette”
  2. start typing vim or toggle and brings up Toggle vscode-neovim on off (with indicator on bottom status bar)

I believe this is how vscodevim does it. That would be sufficient.

P.S. Love that I can now use my neovim setup within VS Code. Thanks for the work.

2reactions
Valleehcommented, Aug 6, 2022

Hey, sometimes in pair programming the plugin hinders me, so this functionality would be great. After waiting for about half a year, I decide to take my luck into my own hands. In my fork, it works. I added a switch to keep the insert mode even if Esc or Buffer(file)change happens. I added a second switch that just makes insert mode persist when buffer change happens. And I added a setting (which oddly can’t be changed(which I think is a bug in the app programming) that switches to insert mode instead of VisualMode when text is selected with the mouse. I guess it’s not really PR ready yet, and there’s no testing and so on. I wanted to ask if this functionality is wanted, and how it should be implemented, then i would take care for it if wanted. https://github.com/Valleeh/vscode-neovim/tree/neovimtoggle Best Valentin Wunderlich

Read more comments on GitHub >

github_iconTop Results From Across the Web

visual studio code - How to toggle between vim-emulation ...
Effectively the extension will be disabled or enabled quickly. ... For example, here I want to use Ctrl+Alt+V to toggle Vim mode on/off....
Read more >
Vim - Visual Studio Marketplace
vim.disableExtension, Disable VSCodeVim extension. This setting can also be toggled using toggleVim command in the Command Palette, Boolean ...
Read more >
Toggle vim mode - Plugins ideas
When activating the vim plugin, I want to activate and de-activate it via palette/key command, rather than it being the default editor mode...
Read more >
Vim in VS Code - How To Set Up, Use and Customize
Vim is an extremely powerful text-editor while VS Code is one of the most popular modern IDEs today. What if you could use...
Read more >
Vintage Mode
Vintage is a vi mode editing package for Sublime Text. It allows you to combine vi's ... Vintage is disabled by default, via...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found