Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
    
Is the goal here to split a single pane equally in one dimension enough times to run a set of commands one per pane? Resulting in something like: dl.dropboxusercontent.com/s/3vyejreovlp1uhu/… – bschlueter Nov 9 '15 at 3:09

You must log in to answer this question.

Browse other questions tagged .