On 20/02/09 09:49, Tom Link wrote:
>>   2. Does it work?
>
> Not the way it is posted. With minor modifications it works to some
> degree:
>
>      set noscrollbind
>      botright vert split
>      normal Ljzt
>      set scrollbind
>      wincmd p
>      set scrollbind
>
> But this doesn't work (for me) when being executed from a function or
> if you source those lines from a file. So you'd have to enter the
> commands on the command line which isn't really practical. I also
> noticed minor "line shifts" so 2<pagedown>  doesn't always get you to
> the next book page -- but maybe there is an option I forgot/don't know
> about controlling the behaviour of pagedown.
>
> I'd say, a good start but it doesn't really work yet.

":set [no]scrollbind" should be ":setlocal" -- you don't want new [No 
Name] buffers to open in 'scrollbind' mode (to be scrolled "together" 
after you fill them with more than one screen of data).


Best regards,
Tony.
-- 
So when I saw the post to comp.editors, I rushed over to the FTP site to
grab it.  So I yank apart the tarball, light x candles, where x= the
vim version multiplied by the md5sum of the source divided by the MAC of
my NIC (8A3FA78155A8A1D346C3C4A), put on black robes, dim the lights,
wave a dead chicken over the hard drive, and summon the power of GNU GCC
with the magic words "make config ; make!".
                [Jason Spence, compiling Vim 5.0]

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to