VSCodeVim / VSCodeVim/Vim

Insert mode extremely laggy in Notebooks

Open
#6,979 1 comment 1 reaction 1 assignee View on GitHub

@rebornix is already working on this.

Since Aug 11, 2021.

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

Description

Describe the bug

When editing or adding text in a Jupyter notebook there's a 1-1.5s delay between a typing a character and it being rendered to the screen. It makes it pretty painful to work on jupyter notebooks inside of vscode with the vim extension

To Reproduce

Open a jupyter notebook in VSCode with the VIM extension enabled. Edit a cell and go into insert mode and type any characters.

Expected behavior

Normal and visual modes work great with no perceptible lag. Turning off the VIM extension also removes lag when editing notebook cells

  • Extension (VsCodeVim) version: 1.21.5
  • VSCode version:
    Version: 1.59.0
    Commit: 379476f0e13988d90fab105c5c19e7abc8b1dea8
    Date: 2021-08-04T23:14:40.191Z
    Electron: 13.1.7
    Chrome: 91.0.4472.124
    Node.js: 14.16.0
    V8: 9.1.269.36-electron.0
    OS: Darwin x64 19.6.0
  • OS: macOS 10.15.7

Additional context
Not sure if there are some settings similar to the previous vim.foldfix that might help with some additional processing the extension is doing specifically while inside a notebook

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.