Closed matthewsia98 closed 1 year ago
What's the output of :verbose imap <C-y>
?
11:58:14 PM msg_show verbose imap <C-y> i <C-Y> * <Lua 413: ~/.config/nvim/lua/plugins/completion/keymaps.lua:14>
Last set from Lua
I see that you're hitting <C-y>
repeatedly. Can you try waiting a bit? Sometimes it takes copilot a while to generate suggestion.
Also, try writing a few characters and then hit <C-y>
to see if it works.
Doesn't seem to work reliably. Updated original post with minimal config and steps to reproduce
Can you try with https://github.com/zbirenbaum/copilot.lua/pull/136? @matthewsia98
Seems to work
Config in the left window Keymaps defined in the upper right window
<C-c>
<C-y>
but it doesn't workhttps://user-images.githubusercontent.com/71731492/221452483-6caab648-d71d-492b-9421-692393b22809.mp4
Steps to reproduce
nvim -u minimal.lua test.lua
:Copilot auth
-- print hello world
in first line<C-c>
<C-n>
to trigger next suggestionExpected behavior
Same suggestion that was just dismissed should appear again
minimal.lua