github / github/copilot-cli

Flexible configuration for submit and new line actions

Open
#2,951 0 comments 0 reactions 0 assignees View on GitHub
area:configuration area:input-keyboard
Dominant language
Shell
Stars
11.2k
Forks
1.9k
Avg merge
14h 16m
Merged PRs (30d)
6

Description

### Describe the feature or problem you'd like to solve

A way to define what combinations do a submit or a new line

### Proposed solution

Currently it is possible to configure SHIFT+ENTER as new line but ENTER always stays as submit.
More tools are allowing or adopting the CMD+ENTER as submit to avoid accidental submits.
Having this possibility in copilot would help avoiding accident submits.

### Example prompts or workflows

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

The issue names no files or tests; start by tracing the existing SHIFT+ENTER new-line configuration and ENTER submit handling in the CLI input path. Define how submit and new-line combinations should be configured, then add coverage showing the selected combinations work without accidental submits.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.