jwkvam / jupyterlab-vim

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

Pressing Escape Takes Focus Out of Browser #120

Closed philFernandez closed 3 years ago

philFernandez commented 4 years ago

I'm using jupyter lab inside of chromium on mac os. I'm loving this vim plugin, but when I press escape to change back into normal mode the focus goes completely out of the current chrome window, forcing me to use a mouse to put focus back into chrome. I know this is probably a chrome issue, but I'm wondering if anyone knows how to stop this? I was able to :imap jj <Esc> as a workaround, but my muscle memory is used to hitting my caps lock key, which is mapped to escape, and it keeps messing me up.

tysg commented 4 years ago

Do you have a browser extension that's listening for key presses? I disabled Vimium for Jupyter Lab and it worked.

philFernandez commented 3 years ago

@tysng Thank you. That did seem to be the problem. I was using Chrome with Vimium when I posted this. I've since switched to using Firefox, without any Vimium type extension, and it is working beautifully now. Thank you!