-
Notifications
You must be signed in to change notification settings - Fork 921
User Intro
Start LightTable, and 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 LightTable to install dependencies. Then eval that expression.
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).
You can access user settings by opening the Commands menu (Ctrl + Space) and typing Settings:
. The following items should appear in the menu:
- Settings: User keymaps
- Settings: User behaviors
- Settings: Default keymaps
- Settings: Default behaviors
- Settings: Workspace behaviors
Additionally, you can access the same settings files directly by navigating to them in the following locations:
- Mac:
~/Library/Application Support/LightTable/User/
- Linux:
~/.config/LightTable/User/
- Windows:
%APPDATALOCAL%/LightTable/User/
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) (Note: The Vim plugin must be installed. See this article for details.)
- Try emacs mode by adding (:lt.plugins.emacs/activate-emacs)
- Contribute to this wiki page. Questions and updates welcome.