vimwiki/autoload
Ivan Tishchenko d265df42f5 Prevent cursor moving up/down when TOC changes.
getpos()/setpos() combination does not account for changes of lines
count.  So if you do getpos, then remove lines _above_ it, then do
setpos -- it's going to be off.

The fix calculates the "diff", and adjusts saved position for that diff
(if any).
2015-11-27 03:05:39 +03:00
..
vimwiki Prevent cursor moving up/down when TOC changes. 2015-11-27 03:05:39 +03:00