Hi,

I report 2 issues that cause incorrect cursor position.


a) with 'breakindent' option

test.vim:
----
set wrap
set breakindent
set breakindentopt=shift:4

split
vsplit
resize 3
vertical resize 25

normal! 67ia
----

vim -Nu NONE -S test.vim

http://i.imgur.com/Hay4reZ.png

:startinsert!

http://i.imgur.com/EzzPnbp.png

cursor goes over end-of-line.

I propose to set blank (shift) at topline of window in case of continued-line.

http://i.imgur.com/F0bdRLI.png

patch:
https://gist.github.com/ichizok/40f92fa0dfc81685d504


b) with 'number' option

test.vim:
----
set wrap

split
resize 3
vsplit
vertical resize 25

normal! 76ia
----

vim -Nu NONE -S test.vim

http://i.imgur.com/3kI0Uw5.png

:set number

http://i.imgur.com/dIIJG41.png

cursor goes over end-of-line.

gg

http://i.imgur.com/jkvWmVx.png

line number is displayed as continued-line (prefix '--') in spite of 
start-of-line.

patch:
adjust w_skipcol
https://gist.github.com/ichizok/dfd1eeecb150e68bf3a1


Thank you.
- Ozaki Kiichi

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui