Skip to content

Instantly share code, notes, and snippets.

@sourcevault
Last active March 30, 2023 16:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sourcevault/cda33c204c5903e49e278ca1b59a2090 to your computer and use it in GitHub Desktop.
Save sourcevault/cda33c204c5903e49e278ca1b59a2090 to your computer and use it in GitHub Desktop.
-------------
|           |
|           |
|           |
|           |
-------------
"rows":[0,1],
"cols":[0,1,1],
"cells":[[0,0,1,1],[1,0,2,1]]
-------------
|     |     |
|     |     |
|     |     |
|     |     |
-------------
"rows":[0.0,1.0],
"cols":[0.0,0.5,1.0],
"cells":[[0,0,1,1],[1,0,2,1]]
-------------
|           |
|           |
|-----------|
|           |
|           |
-------------
"cols":[0,1],
"rows":[0,0.5,1],
"cells":[[0,0,1,1],[0,1,1,2]]
-------------
|     |     |
|     |     |
|     |-----|
|     |     |
|     |     |
-------------
"rows": [0.0,0.5,1.0],
"cols": [0,0.5,1],
"cells":
  [
    [0, 0, 1, 2],
    [1, 0, 2, 1],
    [1, 1, 2, 2]
  ]
-------------
|           |
|           |
|-----------|
|     |     |
|     |     |
-------------
"cols": [0.0, 0.5, 1.0],
"rows": [0.0, 0.5, 1.0],
"cells":
[
  [0, 0, 2, 1],
  [0, 1, 1, 2],
  [1, 1, 2, 2]
]
-------------
|           |
|-----------|
|           |
|-----------|
|           |
-------------
"cols": [0,1],
"rows": [0.0,0.33,0.66,1.0],
"cells":
[
  [0, 0      , 1, 1],
  [0, 1      , 1, 2],
  [0, 2      , 1, 3]
]
-------------
|           |
|-----------|
|           |
|           |
|           |
-------------
"cols": [0,1],
"rows": [0.0,0.15,,1],
"cells":
[
  [0, 0 , 1, 1],
  [0, 1 , 1, 2]
]

all keys ( sample ):

  {
    "keys":["alt+."],
     "command":"set_layout",
     "args":
     {
      "rows":[0,1],
      "cols":[0,1,1],
      "cells":[[0,0,1,1],[1,0,2,1]]
     }
  },

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