Skip to content

Instantly share code, notes, and snippets.

@azmr
Created April 14, 2014 11:16
Show Gist options
  • Save azmr/10638892 to your computer and use it in GitHub Desktop.
Save azmr/10638892 to your computer and use it in GitHub Desktop.
;; User keymap
;; -----------------------------
;; Keymaps are stored as a set of diffs that are merged together to create
;; the final set of keys. You can modify these diffs to either add or
;; subtract bindings.
;;
;; Like behaviors, keys are bound by tag. When objects with those tags are active
;; the key bindings are live. Keys can be bound to any number of Light Table commands,
;; allowing you the flexibility to execute multiple operations together. To see a list
;; of all the commands you can execute, start typing a word related to the thing you
;; want to do in between the square brackets (e.g. type "editor").
{:+ {:app {"pmeta-shift-t" [:workspace.show]
"pmeta-t" [:tabset.new]
"pmeta-alt-enter" [:toggle-console]
}
:editor {"alt-w" [:editor.watch.watch-selection]
"alt-shift-w" [:editor.watch.unwatch]
"shift-tab" [:unindent-selection]
"pmeta-shift-e" [:smart-indent-selection]
"pmeta-/" [:toggle-comment-selection]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment