As a user of Cursor’s chat interface, I would like to request a feature that many developers are familiar with from command-line interfaces: the ability to navigate through chat history using keyboard shortcuts.
Feature Description:
- Press ↑ (Up Arrow) to access previous messages/prompts
- Continue pressing ↑ to cycle through older prompts
- Press ↓ (Down Arrow) to move forward through history
- Optional: Add command history persistence between sessions
Benefits:
-
Improved Efficiency
- Quick access to previous prompts without scrolling
- Faster iteration on similar prompts
- Reduced need for copy/paste
-
Familiar Interface
- Matches behavior of command-line tools
- Intuitive for developers
- Consistent with industry standards
-
Better User Experience
- Less context switching
- Easier to modify and rerun previous prompts
- Reduces cognitive load during coding sessions
Use Cases:
- Modifying and rerunning similar queries
- Referencing previous prompts without scrolling
- Iterating on code generation requests
- Quick access to commonly used prompts
This feature would significantly improve the workflow when working with Cursor’s chat interface, especially during longer coding sessions where accessing previous prompts is common.