VSCodeVim / VSCodeVim/Vim

Vim navigation doesn't work in Jupyter Notebooks

Open
#7,635 6 comments 11 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Describe the bug
Vim navigation doesn't work in Jupyter Notebooks.
Example of vim navigation shortcuts I tried: "z,z", "ctrl, y" and "ctrl, e".

To Reproduce
Create a notebook, create a new Cell, activate the Cell, add a few lines, go to the first line, switch to visual mode, press ctrl+e and nothing happens.

Expected behavior
Lines should move up.

Screenshots
If applicable, add screenshots to help explain your problem.
If remapping-related, please attach log output: https://github.com/VSCodeVim/Vim#debugging-remappings.

Environment (please complete the following information):

  • Extension (VsCodeVim) version: v1.22.2
  • VSCode version: Version: 1.66.2
  • OS: Mac

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

Start by reproducing the issue in a VS Code Jupyter Notebook: create a cell, add several lines, enter visual mode, and try Ctrl+E, zz, and Ctrl+Y. Trace the extension's keybinding handling for notebook cells; done means the reported Vim navigation shortcuts move lines as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook, typescript, vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.