Vim-like :q alias for exiting

未關閉 適合新手
#2,373 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

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

研究方向

首先定位 CLI 對現有 /exit、/quit 和 exit 別名的處理方式。新增具有相同退出行為的 :q,然後在互動式工作階段中驗證它會退出而不會提交 prompt 請求。

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

描述

area:input-keyboard
Describe the feature or problem you'd like to solve

Old habits die hard and several cli tools have support for :q to exit. Copilot doesn't. It recently added an exit alias (non-slashed) to avoid submitting prompts when wanting to exit copilot. Can we have ":q" as an exit alias on top of (/exit, /quit and exit)

Proposed solution

Increase UX of Copilot Cli by adding a vim-like ":q" alias for exiting. Similar behavior as the "exit" alias, with the purpose of avoiding submitting prompt requests to Copilot when the user wanted to exit instead

Example prompts or workflows

No response

Additional context

No response

主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

github/copilot-cli 的其他 Issue

查看 github/copilot-cli 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

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

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