screen jumps in Jupyter while I'm typing

Hello,

I'm using Jupyter notebook in PyCharm on Ubuntu.

I have a cell with some results below it. When I type, PyCharm scrolls to the end of results and when I type another letter it scrolls back.

It's so annoying this way.

Does anyone know how to fix this?

This is what happens:

https://cloud.spryservers.net/s/XQXwo8FzDz48ZRP

6
4 comments

Hello, 

 

thank you for reporting this. I have added the provided screencast in addition to existing bug behaviour https://youtrack.jetbrains.com/issue/DS-2488 , please follow it to be notified once it is fixed.  

0

I also ran into the same issue as Amirhoseinrahmati , I have a fix/work-around that at least works for me.

I don't think it's related to https://youtrack.jetbrains.com/issue/DS-2488 . At least the buggy behavior is different. In our case, the screen scroll-jumps after every character we type at the end of a cell (pretty hard to work like that..)

After some debugging, I think the cause for our issue might be related to the Vim emulation plug-in. Commenting out "set scrolloff=5" from my .vimrc file that I source from .ideavimrc finally did the trick for me.

Perhaps something to fix in https://github.com/JetBrains/ideavim ? But for now I just limit myself to making a copy of my .vimrc (.vimrc_for_jetbrains) with that line removed and sourcing that one from .ideavimrc  ..maybe just adding "set scrolloff=0" at the end of .ideavimrc instead might do the trick as well..

Hope that helps

 

10

Thank you Lws Sago.

Disabling IdeaVim worked for me.

1

set scrolloff=0 in ideavimrc worked for me

1

Please sign in to leave a comment.