code-server: Vim extension is not working after installation

  • code-server version: 1.31.0-20
  • OS Version: Ubuntu 16.04
  • Extension: vim

Steps to Reproduce

  1. After installation of Vim extension and reload the vs code window, Vim mode is not toggled.
  2. When trying to toggle the Vim mode manually “command ‘toggleVim’ not found” popped up.

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 25 (15 by maintainers)

Most upvoted comments

I seem to be getting this error

Activating extension 'vscodevim.vim' failed: Not Implemented: IExtensionStoragePaths->globalValue.

I’m hitting the same problem like this (vim plugin v1.1.0) in v1.31.1-100. I think this issue has relation to it.

TaskQueue: Error running task. Invalid regular expression: /([^\s`~!@#\$%\^&\*\(\)\-=\+\[\{\]\}\\\|;:'",\.<>/\?](?:(?:(?<=[A-Z_])[A-Z](?=[\sA-Z0-9`~!@#\$%\^&\*\(\)\-=\+\[\{\]\}\\\|;:'",\.<>/\?_]))+|(?:(?<=[0-9_])[0-9](?=[\sA-Z0-9`~!@#\$%\^&\*\(\)\-=\+\[\{\]\}\\\|;:'",\.<>/\?_]))+|(?:(?<=[_])[_](?=[\s`~!@#\$%\^&\*\(\)\-=\+\[\{\]\}\\\|;:'",\.<>/\?_]))+|[^\sA-Z0-9`~!@#\$%\^&\*\(\)\-=\+\[\{\]\}\\\|;:'",\.<>/\?_]*))|[`~!@#\$%\^&\*\(\)\-=\+\[\{\]\}\\\|;:'",\.<>/\?]+|$^/: Invalid group.

image

I try to downgrade vim version, but I don’t know how to do. https://github.com/codercom/code-server/issues/77

v1.0.8 of vscodevim seems to work with v1.31.1. Will push the downgraded version.

@AlbertDeFusco @vnijs I’ve experienced the same issue. I believe it may be related to https://github.com/VSCodeVim/Vim/issues/4173

Regardless, downgrading to VSCodeVIM version 1.12.4 fixed the issue for me. 1.12.4 can be installed from the code-server extension marketplace directly.

Hey, there. This problem seems to have resurfaced. VSCodeVIM versions 1.13.0 and 1.13.1 do not work with code-server 2.1698-vsc1.41.1 or 3.0.1

It did, check out the latest (2.1698). Keep in mind Chrome is still the only supported browser since the Vim extension uses regular expressions not supported by Firefox and Safari.

Should work once we release 1.31.1. Should release tomorrow

@nhooyr Yes, I had to make some changes to prevent rolling the version forward before VSCode removes negative look behinds. v1.0.8 of VSCodeVim.Vim should refresh and be functional in about an hour.