zbirenbaum / copilot.lua

Fully featured & enhanced replacement for copilot.vim complete with API for interacting with Github Copilot
MIT License
2.43k stars 64 forks source link

Using neovim with Astrovim #292

Closed bradrice closed 1 month ago

bradrice commented 1 month ago

I've added Copilot using { import = "astrocommunity.completion.copilot-lua" }, in my communtiy.lua

I see suggestions in my neovim, but I can't seem to accept any suggestions. I've tried alt-l, but it's not working. I haven't configured anything, so I am assuming I'm supposed to use whatever the default mappings are. Does anyone have a youtube video or something showing how to use this in neovim? I have authenticated and it I run :Coplilot is says it is enabled for typescript which is what I am using. I just figure out how to accept.

bradrice commented 1 month ago

It had nothing to do with this code or astrovim, it was that I didn't have my meta key mapped in iTerm2.