Entering vi(1) commands in JupyterLab notebooks causes scroll to bottom of cell

Hello Friends:

I’m running the below library versions in a Python virtual environment.

My JupyterLab Notebooks use vim(1) emulation.

I don’t know when this problem started, but every time I perform, say, a w! editor operation to save changes, the Notebook scrolls to the bottom of the current input cell, but doesn’t go back up to the cursor input location so that I can continue working. I have to scroll back up each time and find where I was.

The behavior use to be a convenient and quick appearance of the ed(1) one-line editor at the bottom of the display as you typed a vi(1) command, then it would disappear and you were taken back to your cursor. It no longer does that.

Can anyone suggest what to check for and/or how to fix this?

Thank you in advance! (See below).

Python 3.12.4
jupyter==1.0.0
jupyter-console==6.6.3
jupyter-events==0.10.0
jupyter-lsp==2.2.5
jupyter_ai==2.18.1
jupyter_ai_magics==2.18.1
jupyter_client==8.6.2
jupyter_core==5.7.2
jupyter_server==2.14.1
jupyter_server_terminals==0.5.3
jupyterlab==4.2.3
jupyterlab-vim==4.1.3
jupyterlab_pygments==0.3.0
jupyterlab_server==2.27.2
jupyterlab_widgets==3.0.11
1 Like