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

Ecs takes me from insert mode to jupyter command mode

Open sajaysurya opened this issue 2 years ago • 7 comments

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

sajaysurya avatar Jan 12 '22 12:01 sajaysurya

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

pwsiegel avatar Jan 22 '22 19:01 pwsiegel

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

danielpoliakov avatar Jan 24 '22 11:01 danielpoliakov

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 avatar Jan 29 '22 16:01 laoshaw

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

laoshaw avatar Jan 29 '22 16:01 laoshaw

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.

pwsiegel avatar Jan 29 '22 17:01 pwsiegel

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.

nltyrrell avatar Feb 10 '22 09:02 nltyrrell

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

lukashergt avatar Feb 10 '22 20:02 lukashergt