Vim is disabled after performing a VsCode Action (especially Change Color Scheme)
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
In my settings the vim extension is disabled like this
"vim.disableExtension": true,
and I enable it manually with the command ⌘ + ⇧ + P VIM: Toggle VIM Mode.
Once enabled everything works until I change the color scheme, which turns off the Vim Mode.
To Reproduce
- Vim is disabled in settings
- Enable vim:
VIM: Toggle VIM Mode - Open a file
- make sure to be in normal mode (in status line
-- NORMAL --is shown) - Change color scheme: ⌘K ⌘T -> select another scheme
Now Vim Mode is disabled, even the status line still shows-- NORMAL --
e.g. by pressingw,wis literally add to the file instead of moving to the next word
Expected behavior
Vim mode is still enabled after changing color scheme.
- Extension (VsCodeVim) version: 1.11.3
- VSCode version: 1.40.2
- OS: MacOS Mojave 10.14.6
Additional Notes
I'm think there are other actions (despite changing the color scheme) that disable the vim extension as well.
I'm might came across such issues, but right now have no example.
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
Reproduce the issue in VS Code 1.40.2 with VsCodeVim 1.11.3 by disabling Vim, toggling it on, and changing the color scheme. Start by tracing the VIM: Toggle VIM Mode command and the color-scheme action; done means Vim remains enabled and w moves to the next word after the scheme changes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100