In addition to commands you define yourself, MiMo Code ships with a set of built-in slash commands. When using the TUI, type / followed by a command name to quickly execute actions. For example:
Most commands also have keybind using ctrl+x as the leader key, where ctrl+x is the default leader key. Learn more.
Custom commands can override built-in commands. If you define a custom command with the same name, it will override the built-in command. Learn more.
Here are all available built-in slash commands:
Add a provider to MiMo Code. Allows you to select from available providers and add their API keys.
Compact the current session. Alias: /summarize
Keybind: ctrl+x c
Toggle tool execution details.
Keybind: ctrl+x d
Open external editor for composing messages. Uses the editor set in your EDITOR environment variable. Learn more.
Keybind: ctrl+x e
Exit MiMo Code. Aliases: /quit, /q
Keybind: ctrl+x q
Export current conversation to Markdown and open in your default editor. Uses the editor set in your EDITOR environment variable. Learn more.
Keybind: ctrl+x x
Show the help dialog.
Keybind: ctrl+x h
Guided setup for creating or updating AGENTS.md. Learn more.
Keybind: ctrl+x i
List available models.
Keybind: ctrl+x m
Start a new session. Alias: /clear
Keybind: ctrl+x n
Redo a previously undone message. Only available after using /undo.
Any file changes will also be restored.
Internally, this uses Git to manage the file changes. So your project needs to be a Git repository.
Keybind: ctrl+x r
List and switch between sessions. Aliases: /resume, /continue
Keybind: ctrl+x l
Share current session. Learn more.
Keybind: ctrl+x s
List available themes.
Keybind: ctrl+x t
Toggle the visibility of thinking/reasoning blocks in the conversation. When enabled, you can see the model's reasoning process for models that support extended thinking.
This command only controls whether thinking blocks are displayed - it does not enable or disable the model's reasoning capabilities. To toggle actual reasoning capabilities, use ctrl+tto cycle through model variants.
Undo last message in the conversation. Removes the most recent user message, all subsequent responses, and any file changes.
Any file changes made will also be reverted.
Internally, this uses Git to manage the file changes. So your project needs to be a Git repository.
Keybind: ctrl+x u
Unshare current session. Learn more.