Hi,
   I was trying to figure out how to edit 2 files in parallel, side by
side. This post helped:

http://stackoverflow.com/questions/4120518/how-do-i-synchronously-view-and-scroll-vertically-split-buffers-in-vim

  But I have some sort of paging error, where the lines seem to be off, and
I'm not sure what's going on.
I opened two files in vim, then did ctrl+wv followed by :b2 (to get the
second buffer)
   I did :set scrollbind in one file, then :set scrollbind in the other
one. It looked like that didn't do much, so I tried
:syncbind  and it looked like as a I paged down in one the other file also
was "in synch". Well, almost, because
when I was at line 45 in one, I was at line 1 in the other. So as I started
paging up and down, one buffer was
always about a page off from the one.
   Clearly there's something I'm not understanding about synching both
buffers. How do I use scrollbind and syncbind?
All I want is that if I go to line 100 in one buffer, I'm at line 100 in
the other one. Or, what would be nice
is some sort of "toggle", so I could turn the synching on and off.

Is this possible in vim?

Thanks,
Ven

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to