github / github/copilot-cli

Ability to customize keyboard shortcut for `/voice` dictation toggle

未關閉
#3,672 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

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

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

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