Everything Smalti does is in the palette (⌘K), shortcut or not. ⌘? shows this same list inside the app. The name in parentheses is the command id, the one you use to rebind it.
Panes and workspaces
| Shortcut |
Action |
| ⌘K |
Command palette (palette.open) |
| ⌘D |
New pane (pane.new) |
| ⌘W |
Close pane (pane.close) |
| ⌥⌘D |
Layout: Dwindle (layout.dwindle) |
| ⌥⌘C |
Layout: Columns (layout.columns) |
| ⌥⌘M |
Layout: Master + stack (layout.master) |
| ⌃⌘= |
Equalize pane sizes (panes.equalize) |
| ⌘1…⌘9 |
Go to pane N (pane.focus.1…9) |
| ⌥⌘ + arrows |
Focus the pane in that direction (pane.focus.left…) |
| ⇧⌥⌘ + arrows |
Swap pane (pane.swap.left…) |
| ⌃⌥⌘ + arrows |
Grow pane (pane.resize.left…) |
| ⌃⌘N |
New workspace (workspace.new) |
| ⌃1…⌃9 |
Go to workspace N (workspace.1…9) |
Agents, Observatory and editor
| Shortcut |
Action |
| ⌘J |
Jump to the waiting agent (agent.jump) |
| ⇧⌘A |
Open the Observatory (observatory.toggle) |
| ⇧⌘F |
Filter the Observatory, while it's open (observatory.filter) |
| ⌘P |
Change the period, while the Observatory is open (observatory.period) |
| ⇧⌘O |
Search agent sessions (harness.search) |
| ⇧⌘E |
Open Neovim next to the agent (editor.openBeside) |
| ⇧⌘L |
Open the last edited file in Neovim (editor.openLastEdited) |
| ⌘Y |
Open the image in Quick Look (preview.quickLook) |
Terminal
| Shortcut |
Action |
| ⌘C / ⌘V / ⌘A |
Copy / Paste / Select all |
| ⌘L |
Clear screen (terminal.clear) |
| ⌘F / ⌘G / ⇧⌘G |
Find / next / previous |
| ⌘↑ / ⌘↓ |
Previous / next prompt |
| ⌘+ / ⌘− / ⌘0 |
Bigger / smaller / reset font |
| ⌘PageUp / ⌘PageDown / ⌘Home / ⌘End |
Scroll |
Window and app
| Shortcut |
Action |
| ⌘N |
New window (window.new) |
| ⇧⌘W |
Close window (window.close) |
| ⌃⌘F |
Full screen (window.fullscreen) |
| ⌘M |
Minimize (window.minimize) |
| ⌘? |
Smalti help (help.show) |
| ⌘, |
Appearance (appearance.open) |
| ⌥⌘, |
Open config.toml (config.open) |
| ⇧⌘P |
Prompt studio (prompt.studio) |
At the zsh prompt
| Key |
Action |
| Tab |
Complete |
| → or ⌃E |
Accept the suggestion |
| ⌃R |
Fuzzy history. Inside it: ↩ inserts, ⌘↩ runs, ⇥ changes the scope |
With the mouse: ⌘-click opens a link and dragging a file pastes its path.
Rebinding a shortcut
In config.toml, the [keys] table maps a shortcut to a command id:
[keys]
"cmd+shift+k" = "palette.open"
"ctrl+cmd+h" = "pane.focus.left"
"cmd+j" = "none" # removes the shortcut
- Modifiers:
cmd, opt (or alt), ctrl, shift, joined with +. The + key is written plus.
- Writing a shortcut for a command replaces its defaults. Two lines give it two shortcuts.
- ⌥ without ⌘ or ⌃ is reserved for typing characters.
- Commands without a shortcut (for example
config.reload, layout.import, theme.next) can be bound too.