Vimrc file changes do not take effect
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
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:
- Create a vimrc file and keymaps into it
- Set vimrc.enable and vimrc.path to load a vimrc file
- Make changes to the keymaps in the vimrc file
- Reload vscode
- See error: old keymaps are still active
Expected behavior
Updated keymaps should take effect in the editor
Environment
- Extension (VsCodeVim) version: 1.25.2
- VSCode version: 1.77.3
- OS: Windows 10
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The payload names no source file or test. Reproduce the issue with a vimrc and changed keymaps, then trace the VSCodeVim vimrc loading path for cached state; done means reloading VS Code applies the updated keymaps.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100