People,

On 2013-04-14 05:26, Erik Falor wrote:
On Sat, Apr 13, 2013 at 07:19:46AM -0400, Salman Halim wrote:
On Saturday, April 13, 2013, Philip Rhoades wrote:

People,

With two text files open in vertical panels, I would like to be able to cursor around on the left side file and for the same (or nearly the same
line) to be centred and highlighted on the right side . .
I might be simplifying it a bit, but how about going to the top of both
files and executing:

:windo set  cursorbind scrollbind cursorline

It seems to me that this would keep both files in sync and highlight the
current line in both windows.

This seems like it should work, but I find that in Vim >= 7.3.547 the
other window's cursorline highlight is not updated until I do one of:
    1. Focus the other window
    2. :redraw!

This is the case for me even when I disable 'lazyredraw'.

:windo set nolazyredraw cursorbind scrollbind cursorline

A regular :redraw isn't enough, either.  I must add the bang to get
the effect.  Is there possibly another setting that I'm not thinking
of that could play a part in this?


Not quite what I want but interesting.

Thanks,

Phil.
--
Philip Rhoades

GPO Box 3411
Sydney NSW      2001
Australia
E-mail:  [email protected]

--
--
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

--- You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to