Steps to reproduce the problem:
1. Create a buffer with the contents:
0123456
789
2. :set virtualedit=
3. put the cursor on "4"
4. move down a line
5. :set ruler
6. move up a line
The expected result would be to have the cursor end on character "4".
The actual result is it moves to "2".
This is with Vim 7.4.658 on Linux (but the bug most likely happens on all
systems).
The value of &ruler doesn't matter, it's the action of setting (or unsetting)
it that seems to triggers the bug. On the other hand, setting or unsetting
other options (such as showcmd) doesn't trigger the problem.
Original issue reported on code.google.com by lcd...@gmail.com on 13 Mar 2015 at 5:54
Original issue reported on code.google.com by
lcd...@gmail.com
on 13 Mar 2015 at 5:54