Skip to content
Discussion options

You must be logged in to vote

Currently, there is no command to open the current, in-progress prompt in your external editor.

The /editor command is used to configure which editor gemini-cli will use for other tasks, such as when a tool needs to open a file for you to view or edit. It sets the editor, but it doesn't provide a mechanism to launch it for editing the prompt buffer itself.

For writing multi-line prompts or pasting large blocks of text, the intended workflow is to do one of the following:

  1. Paste Directly: Copy the text from your editor or another source and paste it directly into the gemini-cli input box.
  2. Use Shift+Enter: Most terminals support Shift+Enter to add a newline within the prompt without submitt…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mhlinder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants