On 22/12/08 06:55, Nelson Castillo wrote:
> Hello.
>
> Is there a way to do a vertical split where you can read something
> like you read a book?
>
> Let's say you cannot edit in the right window but that it shows what
> comes after the left window.
>
> It would be useful for reading source code in wide-screen monitors.
>
> Regards.

Try ":vsplit" followed by adjusting the views (e.g. PgDn in one of the 
windows), and then ":setlocal scrollbind" in both windows. Then both 
windows will scroll together; if they come out of sync, adjust them (in 
gvim) by means of the non-current window's scrollbar.

Best regards,
Tony.
-- 
Join in the new game that's sweeping the country.  It's called
"Bureaucracy".  Everybody stands in a circle.  The first person to do
anything loses.

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

Reply via email to