Skip to content
Kolya Ay edited this page Jan 22, 2014 · 3 revisions

Getting started with Light Table

Install it from lighttable.com

http://www.lighttable.com/

Install dependencies

Start LT. Open a new file by pressing Ctrl-N

Set syntax to Clojure (Ctrl-Space to open the command bar, then type/select 'Set editor syntax', type/select Clojure)

type (+ 1 2) Ctrl-Enter (Cmd-Return on Mac)

This will tell LT to install dependencies. Then eval that expression.

Start a instarepl

Press Ctrl-Space to show the command bar, then type "repl" in the command search box, select one item to run it:

  • Open a clojure instarepl
  • Make current editor an instarepl

instarepl currently only works for clojure files (.clj).

User settings

  • Mac: ~/Library/Application Support/LightTable/settings/
  • Linux: ~/.config/LightTable/settings/
  • Windows: %APPDATALOCAL%/LightTable/settings/

What next

You may want to

  • Check the shortcuts. Type Ctrl-Space shortcut Enter

    The basic shortcuts

      Ctrl-W       close tab
      Ctrl-O       open file
      Ctrl-N       new file
      Ctrl-F       find
      Ctrl-Space   show command bar
      Cmd-digit   switch to the Nth tab (Ctrl-digit on Linux)
    
  • To change various settings type Ctrl-Space Settings: User behaviors

    • Change a theme by editing the string theme name in (:lt.objs.style/set-theme "default") for example (:lt.objs.style/set-theme "ibdknox")
    • Try vim mode by adding (:lt.plugins.vim/activate-vim)
    • Try emacs mode by adding (:lt.plugins.emacs/activate-emacs)
    • Contribute to this wiki page. Questions and updates welcome.

Tutorials & Screencasts