Layout and basics
The gilvt window has three columns: the session overview on the left, terminal tabs and splits in the middle, and the inspector on the right. ⌘B and ⌘I collapse the two sides; with both collapsed, it is a plain terminal.
Tabs and splits
| ⌘T / ⌘N | New tab / new window |
| ⌘, | Settings window (“Appearance” themes, “Monitor”) |
| ⌘D / ⌘⇧D | Split right / down |
| ⌘⌥←↑→↓ | Move pane focus |
| ⌘⌃←↑→↓ | Resize the pane; you can also drag the divider |
| ⌘⇧⏎ | Maximize / restore the current pane |
| ⌘⇧T | Move the current pane to a new tab; press it again in that tab to put the pane back into its split |
| ⌘W / ⌘⇧W | Close pane / close tab |
Shell integration
zsh, bash and fish in a new pane load gilvt’s hook: it reports the current directory (new panes inheriting the directory and relative path detection both depend on it) and marks prompts and command boundaries. Your own rc files load as usual and are never modified. If you do not want it, set shell_integration = false in the configuration.
Clicking paths and links
⌘-clicking a file path in terminal output (including forms with line and column such as src/main.rs:42:7) opens it in Quick Look at that position; ⌘⇧+click opens it in the built-in editor (see “Built-in editor” below). Only files that actually exist are recognized. ⌘+clicking an http / https / mailto link opens it in the browser.
Restoring your workspace after a restart
Every second, gilvt saves the windows, tabs, split directions and ratios, each pane’s directory, and window positions and sizes to ~/Library/Application Support/gilvt/state/workspace.json (it writes only when something changed). When you reopen after quitting with ⌘Q, a crash or a force quit, the layout returns to its state from the last second or two. Things to know:
- Agents do not start automatically. After a restart, every pane is a plain shell; panes that were running an Agent are listed in the sidebar under “Needs you” as “Pending resume · N”. Click a row and gilvt types
cd <directory> && claude --resume <id>into its original pane (for Codex,codex resume <id>); “Resume All” resumes one about every 0.5 seconds. If you start an Agent in that pane yourself, the session actually detected wins and the “Pending resume” mark disappears automatically. - If a pane’s directory has been deleted, that pane starts in your home directory instead, and the top of the window says “Directory … no longer exists; the pane was started in the home directory”.
- If
workspace.jsonis corrupted, gilvt starts blank, saves the original file asworkspace.json.bad, and then saves new layouts normally. - Deliberately closing the last window (rather than ⌘Q) counts as “don’t keep this”, so the next launch opens a blank window.
- Built-in editor panes and Quick Look previews are not restored.
Close confirmation
When what you are closing contains an Agent that is thinking, running a tool, awaiting approval or asking you something, ⌘W (pane), ⌘⇧W (tab), closing a window and ⌘Q all show a confirmation bar first, listing the affected sessions and their states; ⌘Q combines the sessions of all windows into one bar. The default is to cancel (↩ or Esc); only ⌘↩ means “Close Anyway”. Idle, ended and errored Agents and plain shells close right away. After “Close Anyway” the sessions remain in history, and ⌘⇧R can resume them so you can continue the conversation.