Last active
September 30, 2015 21:15
-
-
Save kenny-evitt/592e910cb1d5d198496b to your computer and use it in GitHub Desktop.
Light Table user keymap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; 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"). | |
;; Old format: | |
{:+ {:app {} | |
:editor {"alt-w" [:editor.watch.watch-selection] | |
"alt-shift-w" [:editor.watch.unwatch]} | |
:tabs {"ctrl-tab" [:tabset.next] | |
"ctrl-shift-tab" [:tabset.prev] | |
"ctrl-pagedown" [:tabs.next] | |
"ctrl-pageup" [:tabs.prev] | |
"ctrl-shift-ins" [:tabs.move-new-tabset] | |
"ctrl-shift-del" [:tabset.close] | |
"ctrl-shift-pagedown" [:tabs.move-next-tabset] | |
"ctrl-shift-pageup" [:tabs.move-prev-tabset]}}} | |
;; New format: | |
[ | |
[:editor "alt-w" :editor.watch.watch-selection] | |
[:editor "alt-shift-w" :editor.watch.unwatch] | |
;; To subtract a binding, prefix the key with '-' e.g. | |
;; [:app "-ctrl-shift-d" :docs.search.show] | |
[:tabs "ctrl-tab" :tabset.next] | |
[:tabs "ctrl-shift-tab" :tabset.prev] | |
[:tabs "ctrl-pagedown" :tabs.next] | |
[:tabs "ctrl-pageup" :tabs.prev] | |
[:tabs "ctrl-shift-ins" :tabs.move-new-tabset] | |
[:tabs "ctrl-shift-del" :tabset.close] | |
[:tabs "ctrl-shift-pagedown" :tabs.move-next-tabset] | |
[:tabs "ctrl-shift-pageup" :tabs.move-prev-tabset] | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment