Vim: VIM stops working when another instance of Code starts

Created on 16 Oct 2018  路  10Comments  路  Source: VSCodeVim/Vim

Describe the bug
When starting another instance of Code, VIM extension does not work correctly, ie. changing modes does not work (ESC in insert mode or line visual mode and yank).

To Reproduce
Steps to reproduce the behavior:

  1. Start another instance of VIM
  2. Change to insert mode than exit using ESC

Expected behavior

All Vim shortcuts should work with any instances of Code

Screenshots
If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

  • Extension (VsCodeVim) version: 0.16.10
  • VSCode version: 1.28.1
  • OS: Archlinux (updated to latest)
kinbug

Most helpful comment

Vim was broken entirely for me with the following setup

  • VSCode Version 1.28.1
  • VIM Extension 0.16.10
  • OSX 10.13.6

Downgrading to 0.16.9 worked for me

The error I was receiving in the developer tools is below.

screenshot 2018-10-16 15 24 21

All 10 comments

I had this on 0.16.10 with or without another Code open. Downgrading to 0.16.9 fixed it

@ben-pr-p WOw, glad confirmed and I'm not lost in space :)

OK, now any tips how to install previous version ? is it possible to somehow specify version while
ext install vscodevim.vim ?

Yeah, you need extensions.autoUpdate to be false. Then, I edited ./.vscode/extensions.json to be:

{
  "metadata": {
    "id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03",
    "publisherId": "vscodevim.vim",
    "publisherDisplayName": "vscodevim"
  },
  "name": "vim",
  "publisher": "vscodevim",
  "version": "0.16.9"
}

and uninstalled, reinstalled, and reloaded.

I also just encountered this issue in the following environment:

  • Extension (VsCodeVim) version: 0.16.10
  • VSCode version: 1.28.1
  • OS: Win10 v1709

Don't have the setup to test/bisect right now, but since it's mode/editor switching it may have been introduced in 24412f6eef296e61176cb183aa826a9fc48b27f4

Vim was broken entirely for me with the following setup

  • VSCode Version 1.28.1
  • VIM Extension 0.16.10
  • OSX 10.13.6

Downgrading to 0.16.9 worked for me

The error I was receiving in the developer tools is below.

screenshot 2018-10-16 15 24 21

Seeing the same as @dusty, extension just plain doesn't work.

The error @dusty had was addressed in #3146. A fix was released last night with version 0.16.11. @mikew are you on 0.16.11?

Another potential symptom of the same. I noticed that my backspace wasnt working in many commands and I couldn't ESC out of the command mode : ...

Seems like this is fixed, so I'm closing. Someone holler if they're still seeing this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

spinningarrow picture spinningarrow  路  3Comments

waltiam picture waltiam  路  3Comments

liamdawson picture liamdawson  路  3Comments

edwintorok picture edwintorok  路  3Comments

lucastheisen picture lucastheisen  路  3Comments