VSCodeVim / VSCodeVim/Vim

toggleVim missing in 1.27.0 and 1.26.2

Open
#8,732 2 comments 0 reactions 0 assignees View on GitHub

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
The most recent two Vim Mode releases, 1.26.2 and 1.27.0 don't work at all for me. 1.26.1 works fine.

To Reproduce

  1. Install the latest (default) version of extension.
  2. Note that you're not in Vim mode when you edit a file.
  3. Run Vim: Toggle Vim Mode.
  4. Note the error dialog: command 'toggleVim' not found.

Expected behavior
Installing the extension should enable Vim-like key bindings, and Vim: Toggle Vim Mode command should toggle Vim mode.

Screenshots
Screenshot 2023-11-19 at 8 29 10 AM

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 1.26.2, 1.27.0
  • VSCode version: 1.84.2 (Universal)
  • OS: macOS Sonoma 14.1.1 (23B81)

Additional context
I don't have a ton of extensions running; mainly Pylance and Rust Analyzer. I can't imagine the extension is totally broken for other people and yet no one has reported it, so I'm flummoxed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the extension command registration and Vim-mode startup behavior between working version 1.26.1 and failing versions 1.26.2 and 1.27.0. Reproduce the issue with VS Code 1.84.2 using “Vim: Toggle Vim Mode”; done means installation enables Vim mode and the command toggles it without a “toggleVim” error.

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
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.