VCode home

Open a tab from the composer with /new

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

Type /new in the composer to open another tab without leaving the composer. The new tab carries this tab's agent and uses the last model and effort chosen for that agent on this device; /new <folder> puts it somewhere else.

Why you would use it

You are mid-conversation and want a second tab like this one — same agent, same settings — usually on the same repo or a worktree beside it. Typing four characters is faster than opening the manager, and the slash menu turns into the same folder picker the new-thread card has.

How to use it

  1. Type /new in the composer (#draft) and send it for a tab in this tab's folder. Tab does the same thing, and so does taking the /new row out of the slash menu with Enter or a tap.
  2. Or type /new — with the space — and keep typing a folder: the slash menu (#slashmenu) becomes a folder list.

The slash menu above the composer, listing folders with their branches under a header naming the current one.

  1. Tap a row to fill the command in, then send.

The composer holding /new and the folder that was tapped, ready to send.

What you see

While the folder menu is up, its header line reads folder for a new <agent> tab · now: <this tab's folder>. Each row shows the folder's ~-short label and its branch, or the word folder for a directory that is not a repo; the full path is the row's tooltip.

Picking a row rewrites the whole draft as /new <label> and closes the menu. The menu stays shut for exactly that text, so it does not pop straight back up; typing anything else brings it back.

On success the toast reads new tab in <folder>, and the new tab is selected. It opens at the same end of the strip the card's tabs do: first on a phone, last on a window at least 760px wide. See start-a-thread. If the folder is wrong the server's message is shown as an error toast and /new <what you typed> goes back into the composer, so you can edit rather than retype it.

Options and settings

Option Default What it changes
/new this tab's folder, else the server default Opens a tab in the same folder
/new <folder> — Opens the tab in that folder; ~ is expanded by the server

Limits and known gaps