vimwiki/autoload
Ivan Tishchenko 5247de4a0b Prevent scrolling of large folds while filesave updates TOC.
During TOC update, screen sometimes scrolls -- most often I've seen this
when I'm working inside large enough fold (does not fit in one screen).

Fix uses winsaveview()/winrestview() instead of getpos()/setpos().
Winview pair would also manage scroll position on screen, not just
cursor position in text.
2015-11-27 03:20:44 +03:00
..
vimwiki Prevent scrolling of large folds while filesave updates TOC. 2015-11-27 03:20:44 +03:00