Insert mode extremely laggy in Notebooks
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.