# Terminal commands & shortcuts 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. ## Prompt controls | 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. | ## Slash commands These are the commands registered in the current build, with the exact title each one shows in the interface. ### Session | Command | What it does | | ----------- | ------------------------------------------------ | | `/new` | New session. Alias: `/clear`. | | `/sessions` | Switch session. Aliases: `/resume`, `/continue`. | | `/exit` | Exit the app. | ### Models, agents, and providers | 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 | ### Context, status, and system | 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 | > Note: > > **Memory, Index, and Team are sidebar tabs, not slash commands.** Press `Ctrl+X` then `B` to toggle the sidebar, then choose the **Session**, **Files**, **Tasks**, **Index**, **Memory**, or **Team** tab. If you've read an older internal guide that lists `/memory`, `/index`, or `/team`, this page is the accurate one — it was checked against the command registry in the current build. Project commands, plugins, MCP servers, and installed skills can add more entries. `/workspaces` stays hidden unless experimental workspace support is enabled. ## Leader key shortcuts 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. ## CLI reference | Command | Purpose | | ------------------------------ | --------------------------------------------------- | | `v3code [project]` | Start the full interface in a project. | | `v3code -c` | Continue the latest session. | | `v3code --session ` | Continue a specific session. | | `v3code --session --fork` | Fork while continuing a session. | | `v3code run ` | 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 ` | 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 ` --help` for the complete current reference. > Note: > > `--auto` approves permission requests that aren't explicitly denied. The CLI itself labels this **dangerous** — don't make it your default or use it unattended. See [Permissions](/terminal/permissions-and-privacy).