Skip to content
Start here

POPULAR GUIDES

    FROM THE DOCUMENTATION

    Open this guide ↗
    ↑ ↓ select ↵ open esc closeV3Code Docs
    The terminalterminal

    Terminal commands & shortcuts

    ↗ View as Markdown

    Every slash command, prompt control, and CLI command in V3Code Terminal, verified against the source.

    Type / in the prompt to search commands — the list only shows what’s available in your current state. Press Ctrl+P for the full command palette.

    Input Result
    Return Submit the prompt.
    Shift+Return, Ctrl+Return, Alt+Return, or Ctrl+J Insert a new line.
    Tab / Shift+Tab Move to the next or previous agent.
    @ Find and attach a file as context.
    !command Enter shell mode and run a command directly.
    / Search slash commands.
    Ctrl+P Open the full command palette.
    Escape Close a dialog, cancel voice, or interrupt active work.
    Ctrl+C Clear a non-empty prompt; with nothing to clear, exit.

    These are the commands registered in the current build, with the exact title each one shows in the interface.

    Command What it does
    /new New session. Alias: /clear.
    /sessions Switch session. Aliases: /resume, /continue.
    /exit Exit the app.
    Command Interface title
    /connect Connect provider
    /models Switch model. Aliases: /model, /mo.
    /agents Switch agent
    /variants Switch model variant (when the model has variants)
    /mcps Toggle MCPs
    /org Switch org (when you have more than one)
    /themes Switch theme
    Command Interface title
    /bridge Local index status (semantic · symbols · memory · editor)
    /memory-status View memory bridge status
    /privacy View local-first privacy shield
    /panel Open browser panel
    /status View status
    /debug View debug info
    /help Help
    /diff Open the diff viewer

    Project commands, plugins, MCP servers, and installed skills can add more entries. /workspaces stays hidden unless experimental workspace support is enabled.

    The default leader key is Ctrl+X. Press it, then the second key.

    Shortcut Action
    Ctrl+X, then B Toggle the sidebar (Session / Files / Tasks / Index / Memory / Team)
    Ctrl+X, then E Open the prompt in an external editor
    Ctrl+X, then T List available themes
    Ctrl+X, then S View status
    Ctrl+X, then Q Exit the application

    Every keybinding can be changed in configuration, and the leader key itself is configurable.

    Command Purpose
    v3code [project] Start the full interface in a project.
    v3code -c Continue the latest session.
    v3code --session <id> Continue a specific session.
    v3code --session <id> --fork Fork while continuing a session.
    v3code run <message> Run one request without the full interface.
    v3code models [provider] List available models.
    v3code providers list List providers and credential state.
    v3code mcp list List MCP servers and status.
    v3code stats Show token usage and cost.
    v3code export [sessionID] Export a session as JSON.
    v3code import <file-or-url> Import session data.
    v3code serve Start a headless server.
    v3code web Start the server and open the web interface.
    v3code debug info Show runtime debug information.
    v3code debug paths Show data, config, cache, state, and log locations.
    v3code debug config Print the resolved configuration.
    v3code --pure Run without external plugins, for diagnosis.

    Run v3code --help or <command> --help for the complete current reference.