86 lines
3.8 KiB
Markdown
86 lines
3.8 KiB
Markdown
# Command line
|
|
|
|
The command line is the bottom half of the right-hand column. It is a normal shell, opened in your project folder.
|
|
|
|
[Guide index](index.md) · Related: [Claude Code](claude-code.md), [Layout](layout.md), [Right-click menu](right-click-menu.md)
|
|
|
|
## At a glance
|
|
|
|
```text
|
|
+--------------------------------------------+
|
|
| (1) Claude Code |
|
|
| |
|
|
+===== (2) drag to resize ===================+
|
|
| (3) |
|
|
| ~/code/myproject $ php artisan test |
|
|
| ... |
|
|
| ~/code/myproject $ _ |
|
|
| |
|
|
+--------------------------------------------+
|
|
```
|
|
|
|
1. **Claude Code**: the agent pane above. See [Claude Code](claude-code.md).
|
|
2. **Splitter**: the bar between the two panes. Drag it up or down.
|
|
3. **Shell terminal**: the whole pane is the terminal. There is no header bar; your shell prompt shows where you are.
|
|
|
|
## Features
|
|
|
|
### The shell
|
|
- Helder starts your shell as a login shell in the project folder.
|
|
- The shell loads your profile, so Homebrew, nvm and your aliases work, even when Helder was opened from the Finder.
|
|
- It is a plain terminal. Run any command, editor or tool you like.
|
|
- There is one shell pane per window. There are no tabs.
|
|
|
|
### Choosing the shell
|
|
- By default Helder uses the shell in your `$SHELL`, else `/bin/zsh`.
|
|
- Set `terminal.shell` to another shell, for example `/bin/bash`. The same shell also hosts the [Claude Code](claude-code.md) pane.
|
|
|
|
### Restart
|
|
- When the shell exits (for example after `exit`), the pane shows a grey line: `[process exited] · press any key to restart`.
|
|
- Press any key in the pane to start a fresh shell.
|
|
- Closing the window ends the shell. Opening another project in the window starts a fresh shell in the new folder.
|
|
- Hiding the Claude column hides this pane too. The shell keeps running and keeps its output.
|
|
|
|
### Copy and paste
|
|
- Select text with the mouse. It is copied to the clipboard straight away.
|
|
- Right-click for **Copy** (only with a selection) and **Paste**. See [Right-click menu](right-click-menu.md).
|
|
|
|
### Focus
|
|
- Click in the pane to type in it. The first click works even when the window is not active.
|
|
- While the pane has the keyboard, arrows, `Enter`, `Cmd+A`, `Cmd+C`, `Cmd+Left` and `Cmd+Right` go to the shell, not to Helder.
|
|
- `Option+Left` and `Option+Right` jump one word back or forward.
|
|
|
|
### Splitter between Claude and the shell
|
|
- Drag the bar between the two panes to share the height.
|
|
- Claude starts with about half the column. Each pane keeps at least about a fifth of it.
|
|
- The position is remembered across launches, and is the same in every project.
|
|
|
|
### Look
|
|
- Same font, colours, cursor and zoom as the [Claude Code](claude-code.md) pane. `Cmd++`, `Cmd+-` and `Cmd+0` zoom both terminals.
|
|
|
|
## Keyboard
|
|
|
|
| Keys | Action |
|
|
|---|---|
|
|
| Any key, after exit | Restart the shell |
|
|
| `Option+Left` / `Option+Right` | Jump one word back / forward |
|
|
| `Cmd++` / `Cmd+-` / `Cmd+0` | Zoom terminal and code text in / out / reset |
|
|
| Mouse select | Copy the selection |
|
|
|
|
## Settings
|
|
|
|
| Setting | Default | Effect |
|
|
|---|---|---|
|
|
| `terminal.shell` | your `$SHELL` | The shell for both terminal panes. |
|
|
| `terminal.scrollback` | `8000` | Lines kept for scrolling back. |
|
|
| `terminal.optionIsMeta` | `false` | Option acts as Meta, but no longer types accents. |
|
|
|
|
The font, cursor and colour settings are shared with Claude Code. See [Claude Code](claude-code.md#settings) and [Configuration](configuration.md).
|
|
|
|
## Related
|
|
|
|
- [Claude Code](claude-code.md): the agent pane above, with the same terminal behaviour.
|
|
- [Layout](layout.md): column widths, the Claude toggle and the splitters.
|
|
- [Right-click menu](right-click-menu.md): Copy and Paste in the terminal.
|
|
- [Configuration](configuration.md): the `terminal` settings.
|