Skip to content

Instantly share code, notes, and snippets.

@idan
Created October 27, 2011 17:51
Show Gist options
  • Save idan/1320281 to your computer and use it in GitHub Desktop.
Save idan/1320281 to your computer and use it in GitHub Desktop.

Revisions

  1. idan revised this gist Nov 2, 2011. 1 changed file with 0 additions and 14 deletions.
    14 changes: 0 additions & 14 deletions gistfile1.json
    Original file line number Diff line number Diff line change
    @@ -1,14 +0,0 @@
    {
    "caption": "Grid: 3 Asym",
    "command": "set_layout",
    "args":
    {
    "cols": [0.0, 0.5, 1.0],
    "rows": [0.0, 0.5, 1.0],
    "cells":
    [
    [0, 0, 1, 2], [1, 0, 2, 1],
    [1, 1, 2, 2]
    ]
    }
    }
  2. idan revised this gist Nov 2, 2011. 2 changed files with 37 additions and 0 deletions.
    17 changes: 17 additions & 0 deletions Default (OSX).sublime-keymap
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    [
    {
    "keys": ["super+alt+shift+5"],
    "command": "set_layout",
    "caption" : "1-2 Grid",
    "args":
    {
    "cols": [0.0, 0.5, 1.0],
    "rows": [0.0, 0.5, 1.0],
    "cells":
    [
    [0, 0, 1, 2], [1, 0, 2, 1],
    [1, 1, 2, 2]
    ]
    }
    }
    ]
    20 changes: 20 additions & 0 deletions Main.sublime-menu
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,20 @@
    [{
    "id": "view",
    "children": [{
    "id": "layout",
    "children": [{
    "command": "set_layout",
    "caption" : "1-2 Grid",
    "keys": ["super+alt+shift+5"],
    "args":
    {
    "cols": [0.0, 0.5, 1.0],
    "rows": [0.0, 0.5, 1.0],
    "cells":
    [
    [0, 0, 1, 2], [1, 0, 2, 1],
    [1, 1, 2, 2]
    ]
    }
    }]
    }]}]
  3. idan created this gist Oct 27, 2011.
    14 changes: 14 additions & 0 deletions gistfile1.json
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    {
    "caption": "Grid: 3 Asym",
    "command": "set_layout",
    "args":
    {
    "cols": [0.0, 0.5, 1.0],
    "rows": [0.0, 0.5, 1.0],
    "cells":
    [
    [0, 0, 1, 2], [1, 0, 2, 1],
    [1, 1, 2, 2]
    ]
    }
    }