mattboehm / vim-accordion

A vim window manager for people who love splits
101 stars 3 forks source link

Horizontal splits #38

Open elzibubble opened 10 years ago

elzibubble commented 10 years ago

I guess Accordion has an idea of how wide each window should be. If I have a horizontal split open in one pane, then it doesn't realize it needs to adjust both windows at the same time. EG if I change between an adjacent vsplit (A) and the top split (B), the double-pane won't resize until I move into the bottom split (C).

||||---------|---|
||||         | B |
||||    A    |---|
||||         | C |
||||---------|---|
mattboehm commented 10 years ago

Excellent ascii art ;). I think the issue here is that either B or C is retaining its shrunken settings while the other is not. I think I have to un-shrink all before applying the new layout to fix this, but this may create issues for :AccordionDiff and other sizing issues. I'll look into this soon.