I want to create an action or a new profile which opens 4 new tabs in a 2x2 layout. But I've several issues with this:
My profile just won't open inline with the terminal but always in a new window.
I cant get it to render a 2x2 grid but a 1x2 with another break in the last tile.
Here is the profile I've created. I've tried the same commandline with the newTab action with similar results.
{ "guid": "{00000000-0000-0000-0000-000000000005}", "name": "myProfile", "commandline": "wt new-tab -p \"Foo\" ; split-pane -H -p \"Bar\" ; split-pane -V -p \"Baz\" ; split-pane -H -p \"Git Bash\" -d \"C:\\foo\""
}For better readability I've added linebreaks to the code above. they are not in my configuration
Update 1:
I was able to solve the issue with the 2x2 pane layout by using the move-focus command. I think this is a preview feature only atm.
{ "guid": "{00000000-0000-0000-0000-000000000005}", "name": "myProfile", "commandline": "wt new-tab -p \"Foo\" ; split-pane -V -p \"Bar\" ; move-focus left ; split-pane -H -p \"Baz\" ; move-focus up ; move-focus right ; split-pane -H -p \"Git Bash\" -d \"C:\\foo\""
} 8 1 Answer
This is 4x4 profile in the same window:
{ "commandline": "wt -w 0 new-tab -p \"Foo\" ; split-pane -V -p \"Bar\" ; move-focus left ; split-pane -H -p \"Baz\" ; move-focus up ; move-focus right ; split-pane -H -p \"Git Bash\" -d \"C:\\git\"", "guid": "{e4554b48-406d-4615-98a0-fadd035e6cac}", "hidden": false, "name": "4x4"
}