NyaoVim
NyaoVim copied to clipboard
Strange behaviour on :split
When i split the window using either :vsplit or :split and after that i try O the buffer gets completely messed up, it works when doing o instead.
I can't reproduce this.

Could you describe the accurate sequence to reproduce? Screenshot of the broken buffer is also helpful.
Sending a small screencast.

As you can see the problem is when doing O after doing :vsplit
I could not still reproduce this.

Could you tell me accurate input sequence for your screenshot?
If possible, please try it without your neovim configuration.
$ nyaovim -u NONE -U NONE
And could you tell me the version of Neovim? I'm using 0.1.2.
I could reproduce this issue only in my Linux environment (Ubuntu 14.04).

Yes, i'm using linux here.
neovim:
NVIM v0.1.3-61-gf03ab69
Build type: Debug
I am running it from the git repository and the bug happens also if avoid the nvim config at all.
I investigated this. As the result, Neovim's scroll region seems to be wrong. Let me describe.
This is a screenshot while investigation.

And the event log while above is:

I tried O under the text aaaaa after vertical split. The red region is a scrolled area. There was two scrolling events.
At first, only current buffer was scrolled. This was correct because O only scrolls current buffer.
At second, entire window was scrolled. This was incorrect, I think. And no drawing event for window separater was sent and cursor position didn't match after the wrong scrolling.
As described above, OS X didn't reproduce this. I watched the log in OS X and confirmed that the wrong second scrolling was not sent in OS X as below.
