github / github/copilot-cli

Flexible configuration for submit and new line actions

未关闭
#2,951 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area:configuration area:input-keyboard
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
6

描述

### 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_

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
shell
领域
cli
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。