github / github/copilot.vim

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

Đang mở
#223 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Vim Script
Star
11.7k
Fork
810
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

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

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

Đánh giá

Issue này chưa được đánh giá.

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.