Skip to content

Instantly share code, notes, and snippets.

@ikarius
Last active August 29, 2015 14:01
Show Gist options
  • Save ikarius/c4424a7f7f2e3cd89ff6 to your computer and use it in GitHub Desktop.
Save ikarius/c4424a7f7f2e3cd89ff6 to your computer and use it in GitHub Desktop.
LightTable user keymap
;; User keymap
;; -----------------------------
;; Keymaps are stored as a set of diffs that are merged together 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-alt-8" [:workspace.show]
"pmeta-alt-9" [:toggle-console]
"pmeta-alt-0" [:show-connect]
"pmeta-alt-f" [:window.fullscreen]
"pmeta-alt-," [:comment-selection]}
:editor {"alt-w" [:editor.watch.watch-selection]
"alt-shift-w" [:editor.watch.unwatch]
"pmeta-alt-i" [:smart-indent-selection]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment