Created
May 22, 2016 10:31
-
-
Save robjens/85f4f1ba5f324070752bae95d48403ef to your computer and use it in GitHub Desktop.
Lighttable config
This file contains hidden or 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 behaviors | |
;; ----------------------------- | |
;; To subtract a behavior, prefix the name with '-' e.g. | |
;; https://github.com/LightTable/LightTable/blob/master/doc/behavior-and-keymap-configuration.md. | |
[ | |
;; The app tag is kind of like global scope. You assign behaviors that affect | |
;; all of Light Table to it. | |
[:app :lt.objs.style/set-skin "dark"] | |
[:app :lt.objs.plugins/load-js "user_compiled.js"] | |
;; BUG: https://github.com/LightTable/LightTable/issues/1928 ???? | |
;; Used to be [:app :-lt.objs.settings/pair-keymap-diffs] | |
;; Auto-close characters e.g. '{[("' | |
[:editor :lt.objs.editor/autoclose-brackets] | |
;; The editor tag is applied to all editors | |
[:editor :lt.objs.editor/no-wrap] | |
[:editor :lt.objs.style/set-theme "ibdknox"] | |
;; Automatically check for updates | |
[:app :lt.objs.deploy/check-version] | |
[:editor :lt.plugins.reflow/set-width 120] | |
;; Highlight current cursor active line in editor | |
[:editor :lt.objs.editor/highlight-current-line] | |
;; Here we can add behaviors to just clojure editors | |
[:editor.clojure :lt.plugins.clojure/print-length 1000] | |
;; Behaviors specific to a user-defined object | |
;;[:user.hello :lt.plugins.user/on-close-destroy] | |
;; Do not show splash intro | |
[:app :-lt.objs.intro/show-intro] | |
;; Show line numbers | |
[:editor :lt.objs.editor/line-numbers] | |
;; Customize font | |
[:app :lt.objs.style/font-settings "Ubuntu Mono" "10" "1.2"] | |
;; Tab settings: Use real tabs, tab size in spaces, spaces per indent | |
;; [:editor :lt.objs.editor/tab-settings false 2 2] | |
] | |
This file contains hidden or 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 | |
;; ----------------------------- | |
[ | |
;; schemaspy ^^ | |
[:editor "alt-s s" :add-browser-tab :tabs.move-new-tabset | |
:browser.url-bar.focus (:browser.url-bar.navigate! "file:///C:/usr/output/relationships.html")] | |
[:editor "alt-w" :editor.watch.watch-selection] | |
[:editor "alt-shift-w" :editor.watch.unwatch] | |
[:editor "ctrl-up" :editor.sublime.swapLineUp] | |
[:editor "ctrl-down" :editor.sublime.swapLineDown] | |
[:editor "ctrl-i" :clear-inline-results] | |
[:editor "ctrl-shift-q" :editor.disconnect-clients] | |
[:editor "ctrl-," :workspace.show] | |
[:editor "ctrl-." :show-connect] | |
[:app "ctrl-shift-k" :editor.disconnect-clients :clear-console :clear-inline-results :eval-editor] | |
[:app "f3" :searcher.next] | |
[:app "f6" :behaviors.modify-user] | |
[:app "f7" :keymap.modify-user] | |
[:app "f12" :dev-inspector] | |
[:editor "ctrl-shift-up" :editor.sublime.selectLinesUpward] | |
[:editor "ctrl-shift-down" :editor.sublime.selectLinesDownward] | |
[:editor "ctrl-;" :toggle-comment-selection] | |
[:editor "ctrl-/" :toggle-console] | |
[:editor "ctrl-shift-/" :clear-console] | |
[:editor "ctrl-e" :set-syntax] | |
[:app "ctrl-`" :plugin-manager.show] | |
[:app "alt-q" :lt.plugins.reflow/reflow] | |
;; [:editor "ctrl-a" :editor.line-start] | |
;; [:editor "ctrl-x ," :editor.transpose-chars] | |
;; To subtract a keybinding, prefix the key with '-' e.g. | |
;; [:app "-ctrl-shift-d" :docs.search.show] | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment