Cannot scroll window in notebooks using `zz`, `zt` and `zb`
Open
Nobody has claimed this yet.
kind/bug
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the bug
Hotkeys such as:
- zz
- zt
- zb
Do not work using the native VSCode notebooks
To Reproduce
Steps to reproduce the behavior:
- Create a Jupyter notebook .ipynb
- Make a few cells that fill up more than a screen
- Try to scroll the window using zz, zt or zb, nothing works
- Extension (VsCodeVim) version: 1.20.3
- VSCode version: 1.56.2
- OS: Windows
Additional context
See VSCode locking out the ability to use Vim keybindings that recenter the window, I demonstrate how it works on a normal file, then show it not working in 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.
Research direction
Start by reproducing the issue in a native VSCode Jupyter notebook using the listed steps, then compare zz, zt, and zb with their behavior in a normal file. Done means all three commands recenter or scroll the notebook window without breaking their normal-file behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100