VSCodeVim / VSCodeVim/Vim

Switching Vim Modes (insert, visual, etc) will hang VsCode

Open
#3,868 11 comments 31 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/performance
Dominant language
TypeScript
Stars
15.2k
Forks
1.5k
Avg merge
3d 18h
Merged PRs (30d)
6

Description

Describe the bug
In the most recent version of VsCode, switching modes will result in a hang.
This happens regardless of the mode switch, visual or insert or back to normal mode.
Setting "vim.statusBarColorControl": false, will alleviate the issue.

To Reproduce

  1. Have "vim.statusBarColorControl": true, in settings.json
  2. Switch to a different vim mode (e.g.: press i in normal mode)

Expected behaviour
No editor hang

Environment (please complete the following information):

  • Issue Type: Bug
  • Extension Name: vim
  • Extension Version: 1.8.1
  • OS Version: Darwin x64 18.2.0 (MacOS 10.14.3)
  • VSCode version: 1.36.0

This is related to #3825

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 hang with vim.statusBarColorControl enabled by switching between Vim modes in VS Code. Trace the mode-switch handling and status-bar color control path; done means switching modes no longer hangs the editor while the setting remains enabled.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.