github / github/copilot-cli

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

Đang mở
#3,672 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
area:configuration area:input-keyboard
Ngôn ngữ chính
Shell
Star
11.2k
Fork
1.9k
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
6

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start by tracing the /voice command and the existing Ctrl+x v dictation toggle, then inspect how ~/.copilot/settings.json configuration is loaded and how keyboard bindings are represented. The change is done when users can set a custom dictation-toggle shortcut in settings.json and the configured shortcut overrides the default while the existing behavior remains available.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
shell
Lĩnh vực
cli
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
48/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.