github / github/copilot.vim

Suggestion=> adjust :Copilot setup to accept an argument of "bindings"

未關閉
#223 0 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Vim Script
星號
11.7k
分支
810
PR 合併指標
30 天內沒有已合併 PR

描述

I think it would he cool to have a couple of features added a new optional parameter under setup that created a file and appended it somewhere in your runtime path that contained only the various mappings of keys and allowed you to modify them

Another cool feature would be configure mappings where it launches an interpreter and captures input from stdin for ctrl + keys then stores them to a text file and reads from that to determine keybindings on a key by key basis. I had to write a really aggressive dismiss:
```
inoremap (copilot-dismiss):startinsertcall copilot#Dismiss()
```

Because for whatever reason whenever i would dismiss a suggestion it would immediately pop back up on the starts of new lines.
:Copilot version results:
copilot.vim 1.56.0
Vim 9.1.1244
GitHub Copilot Language Server 1.378.0
Node.js 22.20.0
Linux
Press ENTER or type command to continue

貢獻指南

開啟貢獻指南

研究方向

首先閱讀 issue 中關於為 :Copilot setup 新增選用引數,以及使用 inoremap 忽略建議的範例的請求。該 issue 沒有指出檔案或測試,並且將可設定的按鍵繫結與個別的忽略行為結合在一起;在開始工作之前,先釐清要實現的結果屬於哪個範圍。

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

評估

技術堆疊
vim
領域
tooling
Issue 類型
功能
難度
5/5
預估耗時
一週以上
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

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

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