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
Easy way to open diffs from :Gstatus in a new window #318
Comments
Well, there's already one new window opened for the diff. Do you want two On Thu, Mar 14, 2013 at 11:52 AM, Quinn Strahl notifications@github.comwrote:
|
In brevity, I don't want the command to touch the windows that already exist. I admit that's a lot of windows to be working with, but then, the user has already opened the status window and has asked to see a diff; nothing unexpected. How about |
+1 for diff in new tab, happy to implement this as a pull-request if it has a chance of being accepted. |
Here's a crazy idea: what if using the diff maps in visual mode opened a diff for each file in its own tab? I think this is the only sensible behavior for diffing multiple files at once, so it's unlikely we'll ever want the visual mode maps for something else, and it scales down to the one file case just fine. Edit: a count — |
Any update on this? Would be a really helpful feature imo. Specifically |
The diff commands in the :Gstatus window (
D
,ds
,dv
) all go to the last active window (or stay in the :Gstatus window if no other windows exist) and start the diff there, leaving me with the chore of navigating back to the file formerly in that window once I'm done. Does there exist a way to make these commands open a new window (or tab, maybe, depending on user preference?) so as to avoid messing up my layout? If not, can that be done?The text was updated successfully, but these errors were encountered: