AI / GitHub Copilot CLI Fundamentals Interview Questions
What are the keyboard shortcuts available in an interactive Copilot CLI session?
Copilot CLI provides keyboard shortcuts that speed up navigation and mode switching inside an interactive session, reducing the need to type slash commands for common operations.
| Shortcut | Action |
|---|---|
| Shift+Tab | Cycle between Chat, Plan, and Autopilot modes |
| Enter | Submit current prompt |
| Ctrl+C | Cancel the current Copilot action or exit the session |
| Up / Down arrow | Navigate through prompt history (previous prompts in the session |
| Tab | Autocomplete slash command names |
| /? or /help | List all available commands and shortcuts |
# Starting an interactive session to practice shortcuts copilot # → Shift+Tab to cycle modes: # [Chat] → [Plan] → [Autopilot] → [Chat] → ... # → Type /? to see all shortcuts # → Use Up arrow to recall previous prompts # → Press Tab after / to autocomplete slash commands # Key workflow tip: # Start in Chat to discuss approach # Shift+Tab to Plan to review the plan before execution # Shift+Tab to Autopilot to let Copilot run it autonomously
Most important shortcut - Shift+Tab: this is the primary way to switch modes without typing a command. Mastering when to use Chat vs Plan vs Autopilot via Shift+Tab is one of the most impactful productivity skills for Copilot CLI power users.
More Related questions...