Skip to content

Commit 9a11ac1

Browse files
committed
Simplify terminal docs and promote command palette
1 parent 40d42ae commit 9a11ac1

15 files changed

Lines changed: 92 additions & 184 deletions
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ Supacode records palette recency locally and boosts recently used items, which k
3636

3737
## Related docs
3838

39-
- [Search and Navigation](/terminal/search-and-navigation)
39+
- [Terminal](/terminal)
4040
- [Pull Requests and CI](/github/pull-requests-and-ci)
4141
- [Updates](/configuration/updates)

content/docs/configuration/updates.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@ Use **Check for Updates...** from the app menu or press **⌘U** to trigger a ch
3131

3232
## Related docs
3333

34-
- [Command Palette](/terminal/command-palette)
34+
- [Command Palette](/command-palette)
3535
- [Settings and Storage](/configuration/settings-and-storage)
3636
- [Installation](/getting-started/installation)

content/docs/getting-started/first-repository.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ Removing a repository from Supacode only removes it from the app's saved reposit
3232

3333
- [Your First Worktree](/getting-started/first-worktree)
3434
- [Repository Settings](/worktree/repository-settings)
35-
- [Terminal Overview](/terminal/terminal)
35+
- [Terminal](/terminal)

content/docs/getting-started/first-worktree.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,4 @@ Most first sessions look like this:
3737

3838
- [Repository Settings](/worktree/repository-settings)
3939
- [Repository Commands](/worktree/repo-configuration)
40-
- [Terminal Overview](/terminal/terminal)
40+
- [Terminal](/terminal)

content/docs/github/pull-requests-and-ci.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,5 @@ If **Automatically archive merged worktrees** is enabled, Supacode can move merg
4747
## Related docs
4848

4949
- [GitHub CLI Integration](/github/github-cli-integration)
50-
- [Command Palette](/terminal/command-palette)
50+
- [Command Palette](/command-palette)
5151
- [Settings and Storage](/configuration/settings-and-storage)

content/docs/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Supacode is a native macOS app for running terminal-based coding workflows acros
1818
## What Supacode covers
1919

2020
- repositories and worktrees
21-
- A built-in [terminal](/terminal/terminal) with [tabs and splits](/terminal/tabs-and-splits)
21+
- A built-in [terminal](/terminal) with tabs, splits, search, and notifications
2222
- [GitHub CLI integration](/github/github-cli-integration) and [PR / CI workflows](/github/pull-requests-and-ci)
2323
- [Repository settings](/worktree/repository-settings), [repository commands](/worktree/repo-configuration), and local [storage](/configuration/settings-and-storage)
2424

content/docs/keyboard-shortcuts.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,5 @@ If you want to change terminal-native keybindings, change your Ghostty config.
4343

4444
## Related docs
4545

46-
- [Search and Navigation](/terminal/search-and-navigation)
47-
- [Terminal Overview](/terminal/terminal)
46+
- [Terminal](/terminal)
4847
- [Tips](/reference/tips)

content/docs/meta.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"worktree",
66
"keyboard-shortcuts",
77
"terminal",
8+
"command-palette",
89
"github",
910
"configuration",
1011
"reference"

content/docs/terminal.mdx

Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
---
2+
title: Terminal
3+
description: The built-in Ghostty-backed terminal for each worktree
4+
---
5+
6+
Supacode embeds a terminal directly in the detail pane so you can stay in the worktree while you code, test, and run agents.
7+
8+
## Built on Ghostty
9+
10+
Supacode uses GhosttyKit for terminal rendering and behavior. That means terminal theming and many terminal-level shortcuts follow your Ghostty configuration instead of a parallel terminal implementation.
11+
12+
## One terminal state per worktree
13+
14+
Every worktree gets its own terminal state. When you switch worktrees, Supacode restores that worktree's tabs, splits, notifications, and focused surface state inside the app.
15+
16+
## First tab behavior
17+
18+
When a worktree is opened for the first time, Supacode can ensure an initial tab exists. If the worktree was just created and a setup script is configured, that first tab can launch the setup script automatically.
19+
20+
## Core actions
21+
22+
From the terminal area you can:
23+
24+
- open a new terminal tab
25+
- close the focused surface
26+
- close the focused tab
27+
- search terminal output
28+
- split the current terminal into panes
29+
30+
## Tabs and splits
31+
32+
Supacode's terminal is not limited to a single shell. Each worktree can have multiple tabs, and each tab can contain split panes.
33+
34+
Use terminal tabs when the commands are logically separate:
35+
36+
- one tab for your agent
37+
- one tab for a dev server
38+
- one tab for tests
39+
- one tab for a git client such as `lazygit`
40+
41+
The tab context menu supports:
42+
43+
- Close Tab
44+
- Close Other Tabs
45+
- Close Tabs to the Right
46+
- Close All
47+
48+
Use splits when the commands belong together in the same tab.
49+
50+
Supacode supports split creation in multiple directions, and the split tree can be resized, equalized, or zoomed through Ghostty split actions. The split tree view also supports drag-and-drop reorganization.
51+
52+
## Search and navigation
53+
54+
When a worktree terminal is focused, Supacode provides fixed search shortcuts:
55+
56+
| Action | Shortcut |
57+
| --- | --- |
58+
| Find | `⌘F` |
59+
| Find Next | `⌘G` |
60+
| Find Previous | `⇧⌘G` |
61+
| Hide Find Bar | `⇧⌘F` |
62+
| Use Selection for Find | `⌘E` |
63+
64+
## Notifications
65+
66+
Supacode can surface notifications generated from terminal activity and keep them attached to the worktree where they happened.
67+
68+
Unread notifications show up:
69+
70+
- on the worktree row in the sidebar
71+
- in the toolbar's aggregated notifications popover
72+
73+
Notifications are tied to a specific terminal surface, so selecting one can jump you back to the exact place that produced it.
74+
75+
## Theming
76+
77+
Appearance mode is controlled by Supacode, but terminal theming follows Ghostty. If you want the terminal palette to change with light and dark mode, configure that in your Ghostty config.
78+
79+
## Related docs
80+
81+
- [Command Palette](/command-palette)
82+
- [Repository Commands](/worktree/repo-configuration)
83+
- [Keyboard Shortcuts](/keyboard-shortcuts)

content/docs/terminal/meta.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)