> Try ":vsplit" followed by adjusting the views (e.g. PgDn in one of the
> windows), and then ":setlocal scrollbind" in both windows.
I tried to wrap this up in a function. Unfortunately it doesn't seem
to work properly. The windows always get out of sync:
function! reader#Reader()
let top = line('w$') + 1
wincmd v
exec 'norm! '. top .'ztM'
setlocal scrollbind
wincmd p
setlocal scrollbind
endf
Do you have an idea how to make this work?
Regards,
Thomas.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---