jwkvam / jupyterlab-vim

:neckbeard: Vim notebook cell bindings for JupyterLab
MIT License
966 stars 73 forks source link

Ecs takes me from insert mode to jupyter command mode #137

Open sajaysurya opened 2 years ago

sajaysurya commented 2 years ago

Expected behaviour: Esc is supposed to take the control from insert mode to vim command mode Actual behaviour: Esc is taking the control from insert mode to jupyter command mode

Ctrl + C and Ctrl + [ are working fine.

Setup: browser: Safari without any plugins jupyterlab: 3.2.6 jupyterlab-vim: 0.14.5

pwsiegel commented 2 years ago

Same problem with Chrome and jupyterlab 3.2.8. I rolled back to jupyterlab-vim 0.14.4 and the problem went away.

danielpoliakov commented 2 years ago

Same problem with Firefox but rolling back neither jupyterlab or jupyterlab-vim didn't solve the problem.

laoshaw commented 2 years ago

Same problem here, this is too essential for vim: switch between insert and normal mode is the first thing needs to always work. Thanks.

laoshaw commented 2 years ago

I use C-O O as a workaround but it will insert new cells, at least it got me out of insert mode. C-J / C-K also kind of a workaround

pwsiegel commented 2 years ago

Update: rolling back versions was a temporary fix, but the problem came back. I found another thread about this problem (though I can't find it now) which indicated that the problem had to do with a change in jupyterlab itself, and that doing a hard reload of the browser (cmd+shift+r on OSX) would fix the issue. This has been working for me - it works most of the time, and when the problem comes back I just hard reload.

nltyrrell commented 2 years ago

The problem for me seems specific to the browser that jupyter-lab is running in, and the directory where my *.ipynb files are. For example, I can start jupyter-lab running in one directory with some notebooks without problems, and then in another directory where I get the same issue described above, both in the same browser (firefox). Sometimes removing the .ipynb_checkpoints fixed the issue, but not consistently.

I'd be happy to check any relevant log files or something, if anyone has advice about diagnosing the problem further.

lukashergt commented 2 years ago

Hi all, the main rep has moved a while ago to: https://github.com/jupyterlab-contrib/jupyterlab-vim So issues are better posted there.