> For the complete documentation index, see [llms.txt](https://refdocs.buymeasoda.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://refdocs.buymeasoda.com/general/iterm.md).

# iTerm

## Command Helpers

Open command history tool to list, navigate and autocomplete current command

```
ALT + ;
```

## Marks

Allow navigating window scroll to line positions of defined markers (eg. bookmarks)

Set mark for current line (bottom line in window view)

```
SHIFT + CMD + M
```

Move to prev / next mark

```
SHIFT + CMD + UP
SHIFT + CMD + DOWN
```

Jump to most recent mark

```
SHIFT + CMD + J
```

## Window Management

Split window vertically and horizontally (adjust pane size by dragging dividers)

```
CMD + D
CMD + SHIFT + D
```

Close window pane (or use close X button)

```
CMD + W
```

Navigate window panes (alternatively click into pane with mouse)

```
CMD + [
CMD + ]
```

Maximise current pane to full window (or reset to original size)

```
CMD + SHIFT + ENTER
```

## iTerm Tmux (Control Mode)

Create tmux session (or new named session)

```
tmux -CC
tmux -CC new -s <name>
```

Attach to most recent tmux session (or target named session)

```
tmux -CC attach
tmux -CC attach -t <name>
```

List available sessions

```
tmux ls
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://refdocs.buymeasoda.com/general/iterm.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
