Wednesday, October 15, 2014

Re: vim fugitive: row highlighting

On Wednesday, October 15, 2014 10:01:15 AM UTC-5, Fabien Meghazi wrote:
> On Wed, Oct 15, 2014 at 4:25 PM, Ben Fritz <fritzophrenic@gmail.com> wrote:
> Are you just looking for "set cursorline"?
>
>
>
> Yes but activated in both the GBlame window and the file buffer's window with synchronisation between both (so when going one line down on one window, the cursorline goes down too on file buffer)
>
>
> My problem is that when having far indented lines on the file buffer and/or a GBlame window too large because of an authors name too long, I can't see what line correspond to which commit, I always visually shift. A cursorline on both windows would be easier on the eye.
>

You can get pretty close by setting cursorline, cursorbind, and scrollbind on each window.

But I'm not sure how to get them to sync as you move around. Manually switching back and forth between the windows does it, but doing the same thing in an autocmd doesn't make a difference that I can see.

--
--
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 vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: