mistralM

Docs

sideBar

Commands and shortcuts

Control a Vibe session from the terminal with built-in slash commands and keyboard 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.

lightbulb

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/forkFork the current conversation into a new resumable session, leaving this session unchanged. Resume the copy with vibe --resume <id>.
/clear/newStart a new conversation. Optionally pass a prompt to seed it.
/compactCompact conversation history by summarizing. Optionally pass instructions to guide the summary
/configEdit config settings
/contextShow 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
/copyCopy the last agent message to the clipboard
/data-retentionShow data retention information
/debugToggle debug console
/exit:q, :quit, exit, quitExit the application
/goalSet 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
/helpShow help message
/leanstallInstall the Lean 4 agent (leanstral)
/logShow path to current interaction log file
/log-levelChange the log level for this session or persist it to config.toml.
/loopSchedule 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/connectorsBrowse MCP servers and connectors. Pass a name to list its tools. Subcommands: add, status, login, logout. See MCP servers
/modelSelect 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-imagePaste an image from the OS clipboard into the prompt. macOS only
/pluginsDisplay the plugins this session is running. See Plugins
/prShow 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-setupConfigure proxy and SSL certificate settings
/rawShow 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/whatsnewBrowse the release notes of every Vibe version
/reloadReload configuration, agent instructions, and skills from disk
/reload-pluginsRe-pin this session's plugins and report what changed. See Pinned plugins
/renameRename the current session
/resume/continueBrowse, resume, or delete saved sessions
/retryRetry a failed or interrupted response; optionally pass additional instructions
/rewindRewind to a previous message (or press Esc twice)
/skillsBrowse and manage skills
/statusDisplay agent statistics, model and provider details, and the credential source in use
/themeSelect theme
/thinkingSelect the thinking level. Press Enter to save it to your config, or s to use it for this session only
/trusted-foldersList 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
/unleanstallUninstall the Lean 4 agent
/voiceTurn voice mode (dictation with Ctrl+T) and the experimental narrator on or off
/whoamiDisplay the Mistral signed-in user, workspace, plan, and credential source

Keyboard shortcuts

exclamationMark

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

EnterSubmit the message.
Ctrl+J, Alt+Enter, or Shift+EnterInsert a new line. Shift+Enter works only in terminals that report it.
Ctrl+CIf 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+DDelete the character to the right. With an empty input, press twice to quit, or once when ask_confirmation_on_exit = false.
Ctrl+ZSuspend the CLI (macOS and Linux).
EscapeInterrupt the current operation or close the open dialog.
Escape twiceOpen rewind to go back to a previous message. With text in the input, clear the input instead.
Ctrl+OToggle tool output.
Ctrl+GEdit the current input in an external editor.
Ctrl+NFocus the status rail; press a letter to open an item.
Ctrl+SOutside 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+RSearch 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+TStart or stop voice recording when voice mode is on. Escape cancels the recording.
Ctrl+YCopy 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+CCopy the current selection.
Shift+TabCycle through agents.
Shift+UpScroll the chat up.
Shift+DownScroll 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).