Skip to content

Instantly share code, notes, and snippets.

@MangelMaxime
Last active November 5, 2015 17:55
Show Gist options
  • Save MangelMaxime/580c49a6d610be929d2f to your computer and use it in GitHub Desktop.
Save MangelMaxime/580c49a6d610be929d2f to your computer and use it in GitHub Desktop.
Light Table keymap (Azerty french keyboard)
;; 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 "alt-shift-t" :workspace.show]
[:app "alt-shift-c" :toggle-console]
[:editor "alt-w" :editor.watch.watch-selection]
[:editor "alt-shift-w" :editor.watch.unwatch]
[:editor "alt-f" :paredit.select.parent]
[:editor.keys.normal "shift-tab" :unindent-selection]
[:editor "(" (:editor.open-pair "(")]
[:editor ")" (:editor.close-pair ")")]
[:editor "ctrl-alt-4" (:editor.open-pair "{")]
[:editor "ctrl-alt-5" (:editor.open-pair "[")]
[:editor "ctrl-alt-=" (:editor.close-pair "}")]
[:editor "ctrl-alt-[" (:editor.close-pair "]")]
[:editor "backspace" (:editor.backspace-pair)]
[:editor.keys.hinting.active "-enter" [:passthrough]]
;; To subtract a binding, prefix the key with '-' e.g.
;; [:app "-ctrl-shift-d" :docs.search.show]
]
@MangelMaxime
Copy link
Author

You need to remove the .clj at the end of the file. I added it for the syntax highlight

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