Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vimrc only works once and stops working #28

Open
sperezconesa opened this issue Apr 14, 2023 · 2 comments
Open

vimrc only works once and stops working #28

sperezconesa opened this issue Apr 14, 2023 · 2 comments

Comments

@sperezconesa
Copy link

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
Copy link
Author

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?

@muraii
Copy link

muraii commented May 2, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants