I use copilot in neovim[1]. It was remarkably simple to get installed. Highly recommend
1. Install vim Copilot plugin.
2. Name your file with .txt extension.
3. Write stuff.
There is a very good Copilot plugin for nvim written by the legendary tpope himself. It is easy to toggle on and off. I use it alongside coc-nvim every day.
For neovim, there's copilot.nvim[1], and for emacs there's flight-attendant[2], which is very much a work in progress, though.
I happily use neovim with Copilot today. You can have both. :)
I use vim quite a bit too, just sayin...