Check out the tmuxp utility.

pip3 install tmuxp

Here's an example tmuxp config that does exactly that:
https://github.com/tony/tmuxp/blob/master/examples/3-pane.yaml

On Sun, Apr 30, 2017, 12:12 AM Sivaram Neelakantan <[email protected]>
wrote:

> Is it possible to create something like main-vertical layout with 3
> panes upon startup by plugging in the session, window, pane creation
> in the .tmux.conf itself?
>
> Most examples I see on the web are using an external sh script to
> create specific layouts.  Can it be done in the config file itself?
> 1 session, 1 window, 3 panes in main-vertical layout?
>
> sivaram
> --
>
> --
> You received this message because you are subscribed to the Google Groups
> "tmux-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send an email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
-- 

Kaushal Modi

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to