:Hgdiff should be side-by-side

Create issue
Issue #21 resolved
Stephen Rasku created an issue

If I do an :Hgdiff on a modified file it will show the differences but it does a horizontal split (i.e. over-under) rather than a vertical one (i.e. side-by-side). I have set diffopt=vertical but it doesn't seem to affect it.

Comments (5)

  1. Ludovic Chabant repo owner

    :Hgvdiff does the vertical one, and :Hgtabdiff does it vertically in a separate tab.

  2. Stephen Rasku reporter

    Yeah, I just noticed that. I would expect side-by-side to be the default and a separate :Hghdiff command if necessary. I'll play around with it some more. I should be able to get used to it.

  3. Ludovic Chabant repo owner

    Cool. So you know why it came to be this way, this is my first Vim plugin, so a lot of stuff was written even before I knew about options like diffopt. By all means I'm still a Vim n00b :)

  4. Stephen Rasku reporter

    Well, you're at least one vim plugin ahead of me. I might fork your repo and tune it for my workflow. At work, we use git so I would be using this mostly on my private work repos and my home repos.

  5. Log in to comment