Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm curious to know if there's a way that tmux can dynamically split and adjust windows based on the number of commands you provide.

Currently, this is the way I'm having to do something

tmux new-session -d "command"
tmux split-window -h "command"
tmux split-window -v "command"
tmux select-pane -R
tmux split-window -h "command"

etc. In the end, it sort of looks a mess and I have to rethink the commands to make sure they're all displaying properly and doesn't look weird.

So after about an hour, I've got it all down manually, but I wanted to know if there was an easier way to go about this. Instead of having a huge box to the left and tons of split windows on the right side, I'd like to have equal sized boxes across the entire terminal.

Thanks for any help.

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.