Sublime Forum

More than 4 column layout?

#1

I was having that crazy idea of splitting a Sublime window into 7 column layout. However, I’m not able to do that out of the box, without using plugins.

I’m not sure if I’m missing something but it seems that Sublime allows for up to 4 column layout only. Then I have a key binding for the new_pane command that works as follows on my end:

The first time I trigger that key combination I got a 2 column layout. However, repeating that command multiple times results in multiple rows being created inside the second column only.

0 Likes

#2

Layout can be specified via set_layout command.

    {
        "caption": "View Layout: 7 Columns",
        "command": "set_layout",
        "args":
        {
            "cols": [0.0, 0.14, 0.28, 0.42, 0.56, 0.7, 0.84, 1.0],
            "rows": [0.0, 1.0],
            "cells": [[0, 0, 1, 1], [1, 0, 2, 1], [2, 0, 3, 1], [3, 0, 4, 1], [4, 0, 5, 1], [5, 0, 6, 1], [6, 0, 7, 1]]
        }
    },
0 Likes

#3

Thanks, that worked, I should have searched in the docs maybe.

0 Likes