VSCodeVim / VSCodeVim/Vim

VSCodeVIM not working: command 'type' already exists at _.registerCommand

Open
#5,318 5 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
Plugin does not work. Escape does not work. Can type into my file while in "Normal" mode, no vim key combinations work.
Specific error in Developer console:

console.ts:137 [Extension Host] stack trace: Error: command 'type' already exists at _.registerCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:674:270) at Object.registerCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:977:119) at R (/Users/lef/.vscode/extensions/vscodevim.vim-1.17.1/out/extension.js:9:230907) at Object.t.activate (/Users/lef/.vscode/extensions/vscodevim.vim-1.17.1/out/extension.js:9:235625) t.log @ console.ts:70

Expected behavior
The plugin works and I can use VIM mode.

** Environment **
On MacOSX Catalina,
VSCodeVIM 0.17.1,
VSCode 1.49.2

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

Reproduce the failure with VSCode 1.49.2, VSCodeVim 0.17.1, and macOS Catalina, then inspect the activation path represented by out/extension.js and the Developer console stack trace. Done means activation no longer reports that command 'type' already exists and Normal-mode Escape and Vim key combinations work.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.