Skip to content
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

Vertical diff split? #76

Closed
weynhamz opened this issue Aug 13, 2012 · 8 comments
Closed

Vertical diff split? #76

weynhamz opened this issue Aug 13, 2012 · 8 comments

Comments

@weynhamz
Copy link

Is it possible to have a vertical diff split pane when hit ?

@vivien
Copy link
Contributor

vivien commented Aug 14, 2012

I think this is related to #47.

@weynhamz
Copy link
Author

@V0N #47 seems to be requiring the side-by-side diff, but what I want is just moving the diff pane from the bottom to the right or left of the window when is hit in log view.

jonas added a commit that referenced this issue Aug 15, 2012
@jonas
Copy link
Owner

jonas commented Aug 15, 2012

Add

set vertical-split = yes

to your ~/.tigrc ...

@jonas jonas closed this as completed Aug 15, 2012
@vivien
Copy link
Contributor

vivien commented Aug 15, 2012

Add

set vertical-split = yes

to your ~/.tigrc ...

Or even type :set vertical-split = yes in the main view for runtime switch ;-D

Thanks Jonas!

@jonas
Copy link
Owner

jonas commented Aug 15, 2012

True, I used that for testing. ;) However, there is a potential bug when writing it while in a horizontal split view.

Anyway, now we just need to add `:vsplit diff'? ;)

@weynhamz
Copy link
Author

Thanks @jonas, I didn't expect such a quick response and fix.

As you say, there is indeed a bug existed when you type :set vertical-split = yes while the horizontal split view is currently open, a vertical view separating line is shown but horizontal view is still there, I have to press <q> and <enter> again to get a vertical split.

So, I think may be a detection should be set to determine if you are in a horizontal view and :set vertical-split = yes is typed, or, if you are in a vertical view and :set vertical-split = no is typed, then just quit and reopen the split view?

jonas added a commit that referenced this issue Mar 10, 2014
This fixes the issue mentioned in issue #76 where the display may be
garbled and showing both a vertical and horizontal split view at the
same time.
@Tumbler
Copy link

Tumbler commented Jun 24, 2015

To anyone looking at this now I would direct you to this page:
https://www.hscripts.com/tutorials/vim-commands/vertical-diffsplit.html

@FrizzleFur
Copy link

Thanks @jonas, I didn't expect such a quick response and fix.

As you say, there is indeed a bug existed when you type :set vertical-split = yes while the horizontal split view is currently open, a vertical view separating line is shown but horizontal view is still there, I have to press <q> and <enter> again to get a vertical split.

So, I think may be a detection should be set to determine if you are in a horizontal view and :set vertical-split = yes is typed, or, if you are in a vertical view and :set vertical-split = no is typed, then just quit and reopen the split view?

reopen terminal works for me😝

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants