Command Palette
The Command Palette is the most powerful way to control Gemini CLI features without using your mouse. Press Cmd+Shift+P (macOS) or Ctrl+Shift+P (Windows/Linux) and search for these commands:
Core Commands
-
Gemini: Start ChatOpens the primary interactive chat view where you can have multi-turn conversations with the AI. -
Gemini: PromptOpens a quick single-line input. Use this for sending a fast instruction (e.g., “Explain this highlighted function”) without opening the full chat view. -
Gemini: Clear SessionResets the current conversation history. This is helpful if the AI’s context becomes too large or if you want to switch to a completely new task.
Configuration & Modes
Gemini: Approval ModeControls the agent’s permission levels:- Default: Prompts for every sensitive action (e.g., running shell commands).
- Allow Edit: Automatically approves file reads and simple edits.
- Accept All: Automatically approves all tool calls (Use with caution).
Mastering these commands allows you to seamlessly integrate AI into your development workflow entirely from your keyboard.