_____ | | | |_|___|
terminal code editor · single binary
plato is a small code editor that lives in the terminal: a file tree, tabs you can split, shells, and a panel for your coding agent. It runs as a background server you attach to, so closing the terminal never stops a build, a shell or an agent session.
early days · v0.1.0
plato is young and I use it every day. Want to try it when it's public? Send a one-line hello and you'll get one reply when the binaries are out, nothing else.
a human reads this inbox · no list, no tracking
┌ tree ─────────┬ main.go · client.go ─────────────────┬ agent ────────────────────┐ │ ▾ app/ │ 12 func main() { │ > add a --remote flag │ │ main.go │ 13 cfg := loadConfig() │ │ │ client.go * │ 14 if *remote != "" { │ ✻ Editing client.go… │ │ server.go │ 15 return runRemote(*remote) │ ⎿ +12 −3 │ │ │ 16 } │ │ │ workspaces ├ shell ───────────────────────────────┤ │ │ ✻ app │ $ go test ./... │ │ │ ❯ site │ ok app 0.41s │ │ │ * notes │ $ ▌ │ │ └───────────────┴──────────────────────────────────────┴───────────────────────────┘ EDITOR client.go 14:3 go Ctrl+Q detach · Ctrl+P palette
detach, don't quit
Running plato starts a background
server the first time and attaches your terminal to it. The server
owns everything: open files, every project, every shell and agent
session. Your terminal is only a window onto it, so
you can close it, lose it, or swap it for another one.
workspaces
The bottom of the sidebar lists the projects you've opened. Each one keeps its own file tree, tabs, splits, shells and agent panel. Switching projects doesn't stop anything: a build or an agent session carries on while you work elsewhere.
the workspaces list
workspaces ✻ app the agent is working ❯ site a shell is running * notes unsaved files rits enter switch • a add • d remove from list
Markers show what's going on in each project: ✻
the agent is working, ❯ a shell is running,
* there are unsaved files.
Open files, shells and the agent panel come back when you return to a project, even after a restart. The agent continues the project's most recent conversation.
Taking a project off the list only forgets it. plato never deletes a folder.
coding agent
Alt+C opens a panel running your coding
agent in the project folder, full height on the right or full width at the
bottom. Hide it and the agent keeps working in the
background; the workspace marker tells you when it's
busy.
When the agent changes a file you have open, it reloads by itself,
and Ctrl+Z undoes the reload. New files appear in
the tree within two seconds.
If you have unsaved changes in a file that changed on disk, you get a warning instead of a reload, autosave leaves it alone, and saving asks before overwriting.
After a restart, the panel comes back and continues the project's last conversation. Extra arguments, like a model, go in the config.
editor
Splits, tabs, shells, find, go to line, syntax
highlighting, undo. Everything is one key away, and
the mouse works too: click a tab's × to close it,
middle-click to close it faster.
| Alt+V Alt+H | split side by side, or top and bottom |
| Alt+T Alt+Shift+T | shell at the bottom, or on the right |
| Alt+M | move the shell between bottom and right; it keeps running |
| Alt+Z | maximize whatever has focus; again to restore |
| Alt+arrows | move focus between tree, panes and shells |
| Ctrl+P | command palette |
| Ctrl+E Alt+W | jump to the file tree, or the workspaces list, and back |
| Ctrl+Q | detach; plato keeps running |
configuration
Pick a theme, icon style and autosave mode from the
palette and the change shows immediately. Everything else lives in
~/.config/plato/config.toml, which you can open in a tab:
saving it applies it.
~/.config/plato/config.toml
[theme] preset = "catppuccin" icons = "nerd" [editor] autosave = "on_focus_change" [terminal] bottom_height = 0.3 [keys] maximize = "alt+z"
tokyonight, catppuccin, rose-pine, kanagawa and gruvbox, each with matching syntax colors. Any single color can be overridden.
Off, after a pause in typing, or whenever focus moves: to another tab, a shell, or out of the terminal window.
plato --print-config prints every setting with a
comment, ready to copy and trim.