Skip to content

Editing prompts in editor should include some conversation history #5016

@benceferdinandy-signifyd

Description

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

I recently noticed Claude has the AskUserQuestion tool which is an interactive picker with tabs and all. Looks something like this:

Image

Now I'm not sure this is the best solution, but it is true, that currently answering followup questions is quite the pain, since sometimes it can overflow the screen.

What would be pretty awesome, and probably useful for other things as well, if I could invoke the editor with the previous agent output quoted, instead of just what I have in the prompt, just like when I would be replying to an email in TUI. This would also be useful when I want to write something more complex, but I want the context of where we are (the editor takes over the entire screen so I'm left to remember).

How I imagine this is having a command like editor-reply, and assuming you already had something typed into the prompt it would open your EDITOR with

> This was the LLM output
> Question 1
> Question 2

My partial prompt is here

Answering question inline would be a breeze (and very familiar to people who write emails in a TUI editor).

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionUsed for feature requests, proposals, ideas, etc. Open discussion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions