Sublime Forum

More than 4 columns?

#1

Howdy,

In my day-job, I’m a coder and I <3 Sublime for coding.

In my night-job, I write short stories delivered by email. I often write 7 emails at a time in a sub-plot.

To that end, it’s nice to have a 7-column layout, with ALL 7 files viewable at once.

Seeing as Sublime is so configurable, I figured there was no harm in coming here to ask if there’s a way for me to get what I want: 7 columns.

Any ideas? I’m a coder, so config files edits are totally fine by me!

0 Likes

#2
{
    "caption": "Seven Column Layout",
    "command": "set_layout",
    "args":
    {
        "cols": [0.0, 0.1428, 0.2856, 0.4284, 0.5712, 0.7140, 0.8568, 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]]
    }
},

This command looks about right; you can also bind it a key if you’re so inclined.

Links to more info about layouts here: Custom Layout Tutorial needed! (cols, rows, cells)

Also, my condolences :wink:

Alex

0 Likes

#3

[quote=“quodlibet”] { "caption": "Seven Column Layout", "command": "set_layout", "args": { "cols": [0.0, 0.1428, 0.2856, 0.4284, 0.5712, 0.7140, 0.8568, 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]] } },

This command looks about right; you can also bind it a key if you’re so inclined.

Links to more info about layouts here: Custom Layout Tutorial needed! (cols, rows, cells)
[/quote]

Thanks!

[quote=“quodlibet”]
Also, my condolences :wink:

Alex[/quote]

LOL! Yeah it’s not ideal on my tiny laptop but it’ll have to do until I can afford something better :smiley:

0 Likes

#4

I’m a fellow coder/writer. I just find it odd as to why the need for seeing seven stories at the same time. I would use seven tabs and then Ctrl Page Up/Down to move between them. (And there’s the MoveTab plugin if you need to rearrange them.)

But to each his own, I guess.

I remember Kensai, another writer here, had a crazy (or so it looked to me) multi-column layout for plotting: Follow-mode for Sublime?

Alex

0 Likes

#5

Also check out github.com/SublimeText/Origami/

0 Likes