Created
February 29, 2012 16:53
-
-
Save soli/1942422 to your computer and use it in GitHub Desktop.
tmux equal split vs. vim
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Not sure I understand what you want. | |
If you start from | |
------------------------- | |
|...........|...........| | |
|...........|...........| | |
|...........|-----------| | |
|...........|.....|.....| | |
|...........|.....|.....| | |
------------------------- | |
what would you want as result? | |
AFAIK, what *vim* would do is to make this: | |
------------------------- | |
|.......|...............| | |
|.......|...............| | |
|.......|---------------| | |
|.......|.......|.......| | |
|.......|.......|.......| | |
------------------------- | |
i.e. equalize the width (resp. height) of the panes that aren't split vertically (resp. horizontally). | |
Is it what you want to achieve? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes. That is exactly it. The vertical splits are balanced, and the horizontal splits are balanced. Bingo!
I'm aware that I can do "^b :resize-pane -U 20", and the like, but I don't want to spend my day counting pixels to balance my windows. I just want a single shortcut that does it for me.