1

I want to setup a new window with tmuxinator with the panes like this:

#########
# 1 #   #
##### 3 #
# 2 #   #
#########

i.e., two main-vertical panes with the first one having an horizontal one inside of it, something along the lines of:

windows:
  - editor:
      layout: main-vertical
      panes:
        - gst
        - layout: horizontal
          - gulp
          - python script.py

Is there a simple way to achieve this without using window dimensions as in this answer ? Or some alternative to tmuxinator?

Community
  • 1
  • 1
João Gonçalves
  • 3,903
  • 2
  • 22
  • 36

2 Answers2

0

I started to use tmxup instead, here's the solution:

session_name: statuspage
windows:
- window_name: main dev
  layout: main-vertical
  shell_command_before:
    - workon statuspage
  panes:
    - shell_command:
        - python statuspage.py
    - gst
    - pwd
João Gonçalves
  • 3,903
  • 2
  • 22
  • 36
  • Your answer does not actually answer the question. – Mario Oct 01 '16 at 19:54
  • From your "answer" I still don't know if its possible to do it in tmuxinator or not. So no; it's not a good answer. – Mario Oct 03 '16 at 18:08
  • 1
    I can see that you recently added "Or some alternative.." to the end of the question to make your answer more applicable... at least that's a start. – Mario Oct 03 '16 at 18:16
  • @Mario the point of my question was to find a way how to do it, not necessarily with tmuxinator. So I obviously edited it to make it more clear ;) – João Gonçalves Oct 04 '16 at 17:44
  • Fair enough, but without specifying that alternative software is acceptable your answer was invalid. I would just like to point out that a big part of Stack Overflow is good answers rising to the top so that many developers are helped, not just the person asking. This is why "I just did something else" is not valid, because people who actually want the answer to the question being asked are not being helped. I am not trying to be mean, but it's important to the longevity of Stack Overflow that we use our votes to hold each other to a high standard of quality. – Mario Oct 04 '16 at 22:11
0

You can get close to that pretty easily with

windows:
   - cli:
       layout: main-vertical
       panes:
         - one:
           - gst
         - two:
           - gulp
         - three:
           - python script.py

produces

#########
#   # 2 #
# 1 ##### 
#   # 3 #
#########
mattrzr
  • 53
  • 1
  • 7