Ability to customize keyboard shortcut for `/voice` dictation toggle
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
### Describe the feature or problem you'd like to solve
First off, I want to say that the recently added /voice feature is incredibly useful and a fantastic addition to the GitHub Copilot CLI. It has significantly streamlined my workflow.
However, I would like to propose a feature to make the user experience even better: customizable keyboard shortcuts for dictation toggling.
Currently, the /voice mode instructions state: "Voice ready. Hold space to record, or ctrl+x v to toggle dictation." While this works, the Ctrl+x v sequence is not particularly convenient or ergonomic for frequent use. Allowing users to remap this toggle to a shortcut of their choosing would greatly improve accessibility and efficiency.
### Proposed solution
Add a configuration option in `~.copilot/settings.json` that allows users to define a custom keybinding to toggle dictation mode, overriding the default Ctrl+x v.
### Example prompts or workflows
_No response_
### Additional context
_No response_
贡献指南
调研方向
首先跟踪 /voice 命令和现有的 Ctrl+x v 听写切换,然后检查如何加载 ~/.copilot/settings.json 配置,以及键盘绑定是如何表示的。当用户可以在 settings.json 中设置自定义的听写切换快捷键,并且配置的快捷键会覆盖默认快捷键,同时现有行为仍然可用时,此更改就完成了。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell
- 领域
- cli
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100