5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

LightTableのビヘイビア設定メモ

Posted at

LightTableのユーザ定義のビヘイビア設定メモです。あまり追加設定の必要はないかもって感じですが

user.behaiviors
{:+ {
     ;; 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 "dark")
           :lt.objs.sidebar.workspace/workspace.open-on-start
           :lt.objs.intro/show-new-file]

     ;; The editor tag is applied to all editors
     :editor [(:lt.objs.style/set-theme "rabbit-house-dark")
              :lt.objs.editor/line-numbers
              :lt.objs.editor/wrap
              :lt.objs.editor/highlight-current-line
              :lt.objs.editor.file/remove-trailing-whitespace
              (:lt.objs.console/set-console-limit 1000)
              ]

     ;; Here we can add behaviors to just clojure editors
     :editor.clojure [(:lt.objs.langs.clj/print-length 1000)]}

 ;; You can use the subtract key to remove behavior that may get added by
 ;; another diff
 :- {:app []}}

オススメなのはこんなところでしょうか。

設定 概要
:lt.objs.sidebar.workspace/workspace.open-on-start 起動時にWorkspaceを開く
:lt.objs.intro/show-new-file 起動時に新しいファイルを開く
:lt.objs.editor/line-numbers 行番号を表示する
:lt.objs.editor/highlight-current-line 現在行をハイライト表示する
5
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
4

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?