Skip to content

$EDITOR support for editing multi-line prompts #1376

@jtbairdsr

Description

@jtbairdsr

Describe the feature or problem you'd like to solve

Currently, /terminal-setup only supports VS Code, Cursor, and Windsurf, leaving terminal-only users unable to edit multiline prompts with Shift+Enter / Ctrl+Enter.

Proposed solution

Problem:

  • Users in pure terminal environments (wezterm, iTerm2, tmux, etc.) have no way to compose or edit multiline prompts before submitting to Copilot CLI
  • This forces users to either break complex requests into multiple single-line turns or switch to an IDE

Requested Feature: Add multiline prompt editing support for terminal emulators by:

  • Supporting $EDITOR / $VISUAL environment variables to launch vim, nano, or other editors
  • Allowing users to edit prompts in their preferred editor before submission
  • Or implementing a portable terminal-based solution that works across common terminal emulators

Expected Behavior: Users in terminal-only environments can compose complex, multiline prompts using their preferred editor, similar to how git commit works without -m.

Example prompts or workflows

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions