-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
split screen diff feature #3
Comments
the vimdiff feature of vim (on which this relies) is a split screen diff, is this what you're looking for or something different? |
Yes, I want the ability to access that interface, but with scmdiff's ability to easily compare different revisions of the same file. |
So can you try out the following diff and let me know if it's what you have in mind? https://gist.github.com/257330/e76010fdad018cd926a97a5b973aa6f441a08196 We need to come up with a shortcut for this format or a setting, I'm thinking a new shortcut may be in order as you may not want to change a setting if you want to switch between two views. We also need a way to set vertical vs. horizontal diffing, although maybe that should be a setting. Let me know if you run into issues or have suggestions (this is just a proof-of-concept hack). |
Cool, that's exactly what I'm talking about. Now, if there was a way to toggle between the two views... :) |
Oh I'm sure something could be done there... ;-) |
Ok, can you try out my latest patch and let me know what you think/if there's any problems. I added basic usage intsructions to the top of the file but basically now '\s' will toggle the split/non-split view while either in diff or non diff mode. You can also set the default with a Dsplit and Dnosplit command. |
It would be nice to be able to do the split screen diff for side-by-side viewing of the versions of the file.
The text was updated successfully, but these errors were encountered: