Open unode opened 7 years ago
Hum... I don't think I've met such situation. Could you give me a clear step-by-step procedure to reproduce?
Note. I'm a bit busy for now so ping me after middle of March if I don't reply
1) Create a new notebook 2) Create a cell with 20+ lines of text/code 3) Duplicate this cell enough times to fill a screen twice the size of yours. (i.e. if you can see up to 5 cells simultaneously, create at least 10 cells) 4) Click the last cell on the document and enter Vim mode. 5) Repeatedly press k until the cursor gets close to the top of the screen as shown in the screenshot above. 6) Press k a few more times and the cursor will be hidden 'under' the top menu bar.
I noticed a small difference today. This problem only seems to affect insert and edit mode. If I Shift+Esc the entire cell becomes visible again.
The issue is that this plugin doesn't take the Header and toolbar in the Jupyter. To solve this, go to "View->Toggle Header" and "View-> Toggle toolbar". Now the scroll moves with the cursor
Summary
When in Vim or Insert modes, this happens often:
Or worse when the cursor is in one of the 6 lines hiding behind the top bar. I have to constantly scroll manually using the mouse or one of the available shortcuts.
So given the above, is there any workaround to always have the cursor visible or to prevent it from hiding behind the top bar?
Thanks
Environment
Remarks
Behavior is reproducible in both Firefox and Chrome. In addition to vim-binding I have ExecuteTime and codefolding enabled.