Is it possible to have a vertical diff split pane when hit
I think this is related to #47.
@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
Add
set vertical-split = yes
to your ~/.tigrc ...
Add
set vertical-split = yesto your ~/.tigrc ...
Or even type :set vertical-split = yes in the main view for runtime switch ;-D
Thanks Jonas!
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'? ;)
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?
To anyone looking at this now I would direct you to this page:
https://www.hscripts.com/tutorials/vim-commands/vertical-diffsplit.html
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 = yeswhile 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 = yesis typed, or, if you are in a vertical view and:set vertical-split = nois typed, then just quit and reopen the split view?
reopen terminal works for me馃槤
Most helpful comment
Add
to your ~/.tigrc ...