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_

貢獻指南

開啟貢獻指南

研究方向

該 issue 未指定檔案或測試;請先追蹤 CLI 輸入路徑中現有的使用 SHIFT+ENTER 換行的設定,以及使用 ENTER 提交的處理邏輯。定義應如何設定提交和換行組合,然後新增涵蓋範圍,展示所選組合能夠正常運作且不會意外提交。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
shell
領域
cli
Issue 類型
功能
難度
3/5
預估耗時
1-2 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
48/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。