- Vibe
- Vibe Code
- Install and setup
Commands and shortcuts
Commands and shortcuts
Use slash commands and keyboard shortcuts to control a Vibe session without leaving the terminal.
Slash commands
Type / in the CLI prompt to open the slash-command picker. Autocomplete suggests matching commands as you type. The table below lists the built-in commands.
Skills can also expose themselves as slash commands. If you see a / command that isn't in this list, it probably comes from a local skill (check ~/.vibe/skills/ or your project's .vibe/skills/), or from a plugin when its name has a plugin-name: prefix.
Command | Alias | Description |
|---|---|---|
| /branch | /fork | Fork the current conversation into a new resumable session, leaving this session unchanged. Resume the copy with vibe --resume <id>. |
| /clear | /new | Start a new conversation. Optionally pass a prompt to seed it. |
| /compact | Compact conversation history by summarizing. Optionally pass instructions to guide the summary | |
| /config | Edit config settings | |
| /context | Show what fills the context window (system prompt, tool definitions, skills, conversation) and estimated tokens per category. Also opens when you click the footer's token counter | |
| /copy | Copy the last agent message to the clipboard | |
| /data-retention | Show data retention information | |
| /debug | Toggle debug console | |
| /exit | :q, :quit, exit, quit | Exit the application |
| /goal | Set a goal Vibe keeps working on across turns until it's done. Without an argument, show the goal. Subcommands: edit, pause, resume, clear. See Work toward a goal | |
| /help | Show help message | |
| /leanstall | Install the Lean 4 agent (leanstral) | |
| /log | Show path to current interaction log file | |
| /log-level | Change the log level for this session or persist it to config.toml. | |
| /loop | Schedule a recurring prompt in plain language, for example /loop every two minutes check the build. Without an argument, open the loop manager: press n to add a loop or d to delete one. While the session is idle, the row above the input shows the next loop | |
| /mcp | /connectors | Browse MCP servers and connectors. Pass a name to list its tools. Subcommands: add, status, login, logout. See MCP servers |
| /model | Select the active model. Press / to search the list. Press Enter to save it to your config, or s to use it for this session only | |
| /paste-image | Paste an image from the OS clipboard into the prompt. macOS only | |
| /plugins | Display the plugins this session is running. See Plugins | |
| /pr | Show this session's pull requests and merge requests. Press c to open the first failing CI check, or f to draft a prompt that fixes what blocks the PR | |
| /proxy-setup | Configure proxy and SSL certificate settings | |
| /raw | Show agent messages as raw Markdown, so a selection copies their source text. Pass on or off, or nothing to toggle. Lasts for the current session | |
| /release-notes | /whatsnew | Browse the release notes of every Vibe version |
| /reload | Reload configuration, agent instructions, and skills from disk | |
| /reload-plugins | Re-pin this session's plugins and report what changed. See Pinned plugins | |
| /rename | Rename the current session | |
| /resume | /continue | Browse, resume, or delete saved sessions |
| /retry | Retry a failed or interrupted response; optionally pass additional instructions | |
| /rewind | Rewind to a previous message (or press Esc twice) | |
| /skills | Browse and manage skills | |
| /status | Display agent statistics, model and provider details, and the credential source in use | |
| /theme | Select theme | |
| /thinking | Select the thinking level. Press Enter to save it to your config, or s to use it for this session only | |
| /trusted-folders | List trusted and untrusted folders. Press Enter to move a folder to the other list, f to forget it, or a to trust a new folder. See Trusted folders | |
| /unleanstall | Uninstall the Lean 4 agent | |
| /voice | Turn voice mode (dictation with Ctrl+T) and the experimental narrator on or off | |
| /whoami | Display the Mistral signed-in user, workspace, plan, and credential source |
Keyboard shortcuts
Some shortcuts may not work in every combination of terminal emulator, SSH session, or terminal multiplexer (such as tmux). See Terminal support for recommended terminals and workarounds.
Shortcut | Action |
|---|---|
| Enter | Submit the message. |
| Ctrl+J, Alt+Enter, or Shift+Enter | Insert a new line. Shift+Enter works only in terminals that report it. |
| Ctrl+C | If text is selected, copy it. Otherwise, clear the input. With an empty input, deny the pending approval, remove the newest queued message, or interrupt the agent. When nothing is running, press twice to quit. |
| Ctrl+D | Delete the character to the right. With an empty input, press twice to quit, or once when ask_confirmation_on_exit = false. |
| Ctrl+Z | Suspend the CLI (macOS and Linux). |
| Escape | Interrupt the current operation or close the open dialog. |
| Escape twice | Open rewind to go back to a previous message. With text in the input, clear the input instead. |
| Ctrl+O | Toggle tool output. |
| Ctrl+G | Edit the current input in an external editor. |
| Ctrl+N | Focus the status rail; press a letter to open an item. |
| Ctrl+S | Outside history search, stash the input draft and clear the input. The draft comes back after you send your next message. Press Ctrl+S again to swap the input with the stash. |
| Ctrl+R | Search your prompt history. Up/Ctrl+R move to older matches, Down/Ctrl+S to newer ones, Enter loads the match into the input, and Escape restores your draft. |
| Ctrl+T | Start or stop voice recording when voice mode is on. Escape cancels the recording. |
| Ctrl+Y | Copy the current selection (macOS and Linux). With nothing selected, paste back the text last deleted with Ctrl+K, Ctrl+U, Ctrl+W, or Alt+D. |
| Ctrl+Shift+C or Cmd+C | Copy the current selection. |
| Shift+Tab | Cycle through agents. |
| Shift+Up | Scroll the chat up. |
| Shift+Down | Scroll the chat down. |
| Cmd+\ or Alt+\ | Toggle the todo list panel. |
| Ctrl+\ | Toggle the debug console. |
To edit the prompt with vim Normal and Insert modes, set vim_keybindings = true. The input starts in Insert mode, and Escape switches to Normal mode. To interrupt the agent from Insert mode, press Ctrl+C.
You can also click tool approval options, question options, and picker entries, and drag scrollbars with the mouse. Click the model on the input box's top border to open /model, or the token counter in the footer to open /context. Click a tool group, a tool call, or a "Thought" row to expand or collapse it. When you scroll, the prompt of the current exchange stays pinned at the top of the chat: click it to scroll back to it.
Drag to select text: double-click selects a word, and triple-click selects a paragraph. Vibe copies the selection when you release the mouse, unless you set autocopy_to_clipboard = false. To select and copy with your terminal instead, set enable_mouse_capture = false (see Select and copy text).