> ## Documentation Index
> Fetch the complete documentation index at: https://radiusbrowser.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Groups and splits

> Open ordinary tabs, create tab-relative splits, and inspect group structure.

## Use the current group

A terminal opened by Radius receives the current group and tab IDs:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
group="$RADIUS_GROUP_ID"
anchor="$RADIUS_TAB_ID"
```

Inspect or rename the group:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
radius group show "$group"
radius group rename "$group" "Development"
```

From an external terminal, use `radius group list` and `radius tab list` to find
the group and tab you want to control.

## Open ordinary tabs

Inside a Radius terminal, ordinary opens use the current group:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
radius tab open "https://linear.app/linear/issue/LIN-111/welcome-to-linear"
radius tab open "https://github.com/electron/electron/pull/48091"
```

From an external terminal, make the group explicit:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
radius tab open "https://example.com" --group group_example
```

## Open a tab in a split

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
server="$(radius tab open "http://localhost:3000" --right-of "$anchor")"
logs="$(radius tab open "http://localhost:3000/logs" --below "$server" --size 40%)"
```

Available directions:

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
--left-of <anchor-tab-id>
--right-of <anchor-tab-id>
--above <anchor-tab-id>
--below <anchor-tab-id>
```

`--size` accepts a fraction or percentage:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
radius tab open "http://localhost:3000" --right-of "$anchor" --size 0.6
radius tab open "http://localhost:3000" --right-of "$anchor" --size 60%
```

Keep focus on the original tab with:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
radius tab open "http://localhost:3000" --right-of "$anchor" --keep-anchor-active
```

## Split an existing tab

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
radius tab split "$anchor" --right "$pull_request"
radius tab split "$anchor" --below "$pull_request" --size 40%
```

Moving a tab between groups must be explicit:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
radius tab split "$anchor" --right "$pull_request" --move-between-groups
```

## Remove a tab from a split

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
radius tab separate "$pull_request"
```

The tab remains open as an ordinary tab.

## Inspect the structure

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
radius group show "$group"
radius tab get "$server"
radius tab list --group "$group"
```
