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 Chat Opens the primary interactive chat view where you can have multi-turn conversations with the AI.

  • Gemini: Prompt Opens 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 Session Resets 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 Mode Controls 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.


Copyright © 2024 flashmodel. Distributed by an MIT license.

This site uses Just the Docs, a documentation theme for Jekyll.