Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(completion): added more mappings for copilot-lua-cmp (#150)
* feat: added mappings for Copilot completion pack It is very useful to accept Co-pilot suggestions one word at a time or even a whole line. Copilot offers these features but they have not been exposed. VS Code, by default uses Ctrl+Right to accept a word. I've added similar vim-like controls: * Ctrl+Right/L for accepting a word * Ctrl+Down/J for accepting a line * Ctrl+C to dismiss the suggestion * fix formatting --------- Co-authored-by: Micah Halter <[email protected]>
- Loading branch information
872b1e5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi from this commit, I have a conflict when I use copilot and cmp. I can't do
<C-j>
when I want to go to the next item in the cmp text box. I think it's because of line 54.Since I added copilot-cmp to my astronvim config using
When I remove this line, the
<C-j>
from cmp text box command works fine.Let me know if you need further information.
872b1e5
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Cthutu @mehalter , I am having the same issue as @JustRayCB , because of these changes I am no longer able to use
<C-j>
to move to the next item in the cmp box.