Skip to content

Custom layout not created correctly. #651

Description

@andho

I created a tmux layout and got this using list-windows:
0: bash* (4 panes) [282x71] [layout b6b8,282x71,0,0{141x71,0,0,3,140x71,142,0[140x35,142,0{70x35,142,0,5,69x35,213,0,7},140x35,142,36,6]}] @2 (active)

Then I put this in my config file:

name: project1                                                                                          
root: ~/dev/projects/project1/apps/backend
windows:                                                                                            
   - editor:                                                                                         
       layout: b6b8,282x71,0,0{141x71,0,0,3,140x71,142,0[140x35,142,0{70x35,142,0,5,69x35,213,0,7},140x35,142,36,6]}
       # Synchronize all panes of this window, can be enabled before or after the pane commands run. 
       # 'before' represents legacy functionality and will be deprecated in a future release, in favour of 'after'
       # synchronize: after                                                                          
       panes:                                                                                        
         - vim                                                                                       
         -                                                                                           
         - task                                                                                      
         - 

Now when I start the project, the top-right most pane is much smaller then the original layout. So I used tmuxinator debug to get the code and tried the line that sets the layout:

tmux select-layout -t project1:0 b6b8,282x71,0,0\{141x71,0,0,3,140x71,142,0\[140x35,142,0\{70x35,142,0,5,69x35,213,0,7\},140x35,142,36,6\]\}

This fixes the layout.

This is on Ubuntu:18.04. Let me know any other info that might be needed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions