0

I'm using Tim Pope's vim-fugitive plugin to integrate git features into Vim.

When I run Gdiff on a conflicted file, it fires up vimdiff to resolve the conflict.

The diff tool is great but I find it really hard to know at a glance which changes on the buffers on the sides correspond to the change my cursor is at in the middle buffer. I would like to configure it so that whenever I go to the next change (with [c) it would not only move my cursor to the next change but also highlight the corresponding changes on the sides. Is that possible?

sdeleon28
  • 329
  • 1
  • 11
  • That is the default behavior. – Dhruva Sagar Mar 15 '17 at 08:16
  • It doesn't for me. Maybe it has something to do with my color scheme. What do you use? – sdeleon28 Mar 15 '17 at 13:14
  • It could be, although it is also subject to the severity / complexity of the actual changes, sometimes, especially if you have a lot of removed lines etc it can be difficult to 'sync' buffers to show the actual changes across different versions simultaneously. But for the most part it should work that way. Check out the vimcasts for the same. – Dhruva Sagar Mar 15 '17 at 14:57

0 Answers0