github / github/copilot-cli

Clarify the usage of `Ctrl+G` shortcut

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

描述

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

`Ctrl+G` has two distinct functionalities: edit the prompt with `$EDITOR`; or skip the question, even when focused on the input field of choice

### Proposed solution

Make them separate shortcuts, so one would not mistakenly skip the question when he wants to edit the input field with vim.

### Example prompts or workflows

_No response_

### Additional context

_No response_

贡献指南

打开贡献指南

调研方向

The issue does not name a file or test. Start by reproducing both current Ctrl+G behaviors in a CLI input prompt, then locate the keyboard handling and $EDITOR workflow. Done means the two actions use distinct shortcuts and neither workflow accidentally triggers the other.

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

评估

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

把新 issue 发到你的邮箱

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