Docs / Using Slate
Configuration
The optional config.toml: watcher debounce, ignores, pane behaviour, themes and the CLI.
The config file
Settings live in one TOML file. It is created on first change, never on install.
# ~/.config/slate/config.toml
[watcher]
debounce_ms = 90 # quiet window that closes a burst
ignore = ["dist/**", "*.log"]
follow_gitignore = true
[pane]
default = "tree" # spec | diff | tree | log | search
auto_switch = true
manual_hold_ms = 4000 # how long a click suppresses auto-switch
replay_depth = 20
[terminal]
shell = "" # empty = $SHELL
font_size = 13
scrollback = 10000
[override]
enabled = false # the loopback API, off by default
port = 8477
[theme]
name = "slate-dark" # slate-dark | slate-light | paper | mono
Themes
Four built-ins ship with the app; ⌃⌘T cycles them. A theme is a flat list of CSS custom properties, so a custom one is a single file dropped in ~/.config/slate/themes/.
CLI
| Command | Does |
|---|---|
slate . | Open the current directory |
slate --new <name> | Create and open a project |
slate --clone <url> | Clone, then open |
slate --config | Print the resolved config and exit |
Keeping the watcher quiet
Slate follows .gitignore by default. Build outputs that are tracked — generated clients, lockfiles a formatter rewrites — belong in watcher.ignore, otherwise a build will pull the pane onto a diff you did not ask for.