warpdotdev / Warp

Warp is the agentic development environment, built for coding with multiple AI agents.
https://warp.dev
Other
24.02k stars 488 forks source link

Go back and forth though AI prompts history using up/down keys #6587

Closed unlocomqx closed 4 weeks ago

unlocomqx commented 4 weeks ago

Pre-submit Checks

Describe the solution you'd like?

Sometimes, I want to recall the previous command and slightly modify it or just repeat it. I expected the arrow keys to recall the prompt just like you recall commands in your shell, but it didn't do anything.

Is your feature request related to a problem? Please describe.

No response

Additional context

No response

Operating system (OS)

macOS

How important is this feature to you?

3

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None

dannyneira commented 4 weeks ago

Hey @unlocomqx This exists, but you need to be in Agent Mode (CMD-I in macOS or CTRL-I in Windows | Linux) in order to see the UP | DOWN ARROW prompt history. Once the prompt is in the input you can edit to your liking. Another feature which may be helpful is the ability to save prompts, with arguments in Warp Drive. See more on that here: https://docs.warp.dev/knowledge-and-collaboration/warp-drive/prompts

See the demo below:

https://github.com/user-attachments/assets/e15cf3e5-5a5f-4860-835b-fa239cb72a7a

Closing as this feature exists, but please let us know if any issues.