Skip to content

Instantly share code, notes, and snippets.

@valueof
Last active January 4, 2016 18:49
Show Gist options
  • Save valueof/8663025 to your computer and use it in GitHub Desktop.
Save valueof/8663025 to your computer and use it in GitHub Desktop.
LightTable Configuration
;; https://gist.github.com/antonkovalyov/8663025
{:+ {
;; The app tag is kind of like global scope. You assign behaviors that affect
;; all of Light Table here
:app [(:lt.objs.style/set-skin "light")]
;; The editor tag is applied to all editors
:editor [:lt.objs.editor/no-wrap
(:lt.objs.style/set-theme "solarized-light")
(:lt.objs.editor/highlight-current-line)
:lt.plugins.vim/activate-vim
:lt.plugins.trail-whitespace/show-trailing-whitespace]
;; Here we can add behaviors to just clojure editors
:editor.clojure [(:lt.objs.langs.clj/print-length 1000)]
:editor.javascript [(:lt.objs.editor/set-codemirror-flags {:smartIndent false})]
:files [(:lt.objs.files/file-types [{:exts [:jsm] :mime "text/javascript" :name "JavaScript" :tags [:editor.javascript]}])]}
:- {
:app []
:editor [:lt.plugins.auto-complete/auto-show-on-input]}}
{:+ {:app {"pmeta-alt-j" [:dev-inspector]}
:editor {"alt-w" [:editor.watch.watch-selection]
"alt-shift-w" [:editor.watch.unwatch]}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment