[FEATURE] Allow configurable mode cycling - skip Accept Edits Mode in keyboard shortcuts
Problem Statement
I primarily use only Plan Mode and Bypass Permissions Mode in my workflow. However, the current keyboard shortcut (Shift+Tab) cycles through all four modes with this sequence: Plan → Bypass → Normal → Accept Edits → Plan.
This creates an asymmetric experience:
- Going from Plan to Bypass requires only 1 press of Shift+Tab
- Going from Bypass back to Plan requires 3 presses of Shift+Tab (cycling through Normal and Accept Edits modes)
This asymmetry is inefficient and breaks my workflow rhythm, especially when frequently switching between these two modes.
Proposed Solution
Add a configuration option that allows users to customize which modes are included in the keyboard shortcut cycling. Specifically, I'd like to be able to exclude Normal Mode and Accept Edits Mode from the cycle, so the shortcut would only toggle between Plan Mode and Bypass Permissions Mode.
This could be implemented as:
- A setting in Claude Code configuration to specify which modes to include in cycling
- Or a checkbox/toggle option to "Skip unwanted modes in cycling"
- Or predefined cycling presets (e.g., "All modes", "Plan + Bypass only", "Plan + Accept only", "Normal + Plan only")
Alternative Solutions
Currently, I work around this by:
- Pressing Shift+Tab three times when going from Bypass to Plan
- Sometimes using mouse clicks to change modes, but this slows down the keyboard-driven workflow
- Creating custom keyboard shortcuts to simulate multiple presses
Other possible approaches could be:
- Different keyboard shortcuts for each mode
- A quick-access mode selector menu
- Hotkeys to jump directly to specific modes
- A "reverse cycle" shortcut (e.g., Ctrl+Shift+Tab to go backwards)
Priority
Medium - Would be very helpful
Feature Category
Configuration and settings
Use Case Example
Example scenario:
- I'm working on a complex refactoring task that requires both planning and direct execution
- I start in Plan Mode to analyze the code structure
- Press Shift+Tab once to switch to Bypass Mode for rapid changes
- Need to return to Plan Mode to review the next steps
- Currently have to press Shift+Tab three times to get back to Plan Mode
- With this feature, I could press Shift+Tab once in both directions, creating a smooth toggle between the two modes I actually use
Additional Context
This enhancement would be particularly beneficial for power users who have established workflows with specific mode preferences. Many users may only use a subset of the available modes and would benefit from streamlined cycling options.
The current four-mode cycling (Plan → Bypass → Normal → Accept Edits → Plan) creates unnecessary friction for users who primarily work in just two modes, especially with the asymmetric number of key presses required.
---
Preflight Checklist:
- [x] I have searched existing requests and this feature hasn't been requested yet
- [x] This is a single feature request
This issue has 8 comments on GitHub. Read the full discussion on GitHub ↗