VCode home

Rename a tab

Agents: claude, codex, opencode · On: phone, desktop

Give a tab a name of your own, either by editing it in the tab list or by typing /rename <name> in the composer. The name shows in the strip, the drawer and the Threads sheet.

Why you would use it

A tab is named after its folder until you say otherwise, so three tabs on one repo read as the same row three times. A name is what tells them apart.

How to use it

From a list:

  1. Open the tab drawer (#drawer) or the Threads sheet (#sessions).
  2. Tap the pencil on the row (.wsedit, labelled "Rename").
  3. Type the name in the field that replaces it.

A drawer row whose name has become a text field, with the old name selected.

  1. Press Enter, or tap away, to save. Press Escape to discard.

The same row wearing the new name.

From the composer:

What you see

The row's name becomes a text field with the current name selected. Saving repaints the strip, the drawer and the sheet at once.

A bare /rename on Codex or OpenCode, and a bare /r anywhere, shows the toast rename: add a name — /rename my tab.

A rename to nothing is refused by the server with a tab needs a name, and the tab keeps the name it had.

Options and settings

Option Default What it changes
/rename <name> — Sets the name on any agent
/r <name> — The same command
bare /rename Claude only Sent to the Claude CLI, which picks a name
name length — Trimmed, and cut at 80 characters, however it arrives

Limits and known gaps