jupyterlab-vimrc icon indicating copy to clipboard operation
jupyterlab-vimrc copied to clipboard

vimrc only works once and stops working

Open sperezconesa opened this issue 1 year ago • 2 comments

Hello,

I have a problem when I use jupyterlab-vimrc. If I start jupyterlab it doesn´t work at all. If I change the settings.json and save, it works but as soon as I go to another cell it stops working. Is there a bug here?

I'm using:

  • Chrome jupyterlab-vim 0.16.0 jupyterlab-vimrc 0.5.2 jupyterlab 3.6.3 python 3.9.16

Thanks in advance! Best, Sergio

sperezconesa avatar Apr 14 '23 16:04 sperezconesa

The issue seems to come from jupyterlab-vim 0.16 which breaks vimrc. Downgrading to jupyterlab-vim 0.15.1 fixes the problem Any chance this could be fixed?

sperezconesa avatar Apr 17 '23 09:04 sperezconesa

I'm having the same issue with these settings:

  • Firefox 112.0.2
  • Python 3.8.5
  • jupyterlab 3.6.3
  • jupyterlab-vim 0.15.1 (taking the advice above)
  • jupyterlab-vimrc 0.5.2

Saving changes to vimrc.jupyterlab-settings in $HOME/.jupyter/lab/user-settings/jupyterlab-vimrc (but only through the "Advanced Settings" UI) engages the keybinds again, but in my quick testing only until I switch cells.

Edit to add: Apologies for all the edits. I did move to Python 3.11.1 keeping the other versions the same and as @sperezconesa mentioned above, the vimrc configuration works. I think moving to installing the extensions with poetry rather than npm may have helped, and using a more-recent Python version may have contributed to this.

muraii avatar May 02 '23 17:05 muraii