This accompanies this blog post.
This is a ready-to-roll setup based on zerolfx/copilot.el. It customizes Copilot a bit to be more convenient (for me at least). Some features:
M-C-<return>
M-C-<right>
M-C-<down>
M-C-<next>
(page down)M-C-<prior>
(page up)M-C-<escape>
<right>
(right arrow) accepts completion# clone this repo
git clone https://github.com/rksm/copilot-emacsd.git
cd copilot-emacsd
git submodule update --init --recursive
You can start with this setup without interfering with your existing Emacs config by running:
emacs -Q -l path/to/copilot-emacsd/init.el