VSCodeVim / Vim

:star: Vim for Visual Studio Code
http://aka.ms/vscodevim
MIT License
13.84k stars 1.31k forks source link

Vimrc file changes do not take effect #8377

Open nushen96 opened 1 year ago

nushen96 commented 1 year ago

Describe the bug When a vimrc file is initially, keymaps work fine. However, when some changes are made to those keymaps in the vimrc file, those change do not take effect (even after resetting the settings or reinstalling the extension). Seems like the the content of the file is cached somewhere.

To Reproduce Steps to reproduce the behavior:

  1. Create a vimrc file and keymaps into it
  2. Set vimrc.enable and vimrc.path to load a vimrc file
  3. Make changes to the keymaps in the vimrc file
  4. Reload vscode
  5. See error: old keymaps are still active

Expected behavior Updated keymaps should take effect in the editor

Environment

kodekote commented 1 year ago

I just want to add to this issue thread. The .vimrc support is absolutely atrocious. What makes it worse is that there is no debugging information the extension prints to allow the user more insight into what is going on.

JetBrains (e.g, CLion, IntelliJ, PyCharm) supports vim via IdeaVim--.vimrc support is incredible Visual Studio supports vim via VsVim--.vimrc support is good

I do not understand why this extension is lacking so much. Beside remapping your keys and giving modes to file editing, not a lot is done--but it clearly can be done as evidenced elsewhere.