Preferences

Just copilot.el (I checked to be sure and I'm pulling from github.com/zerolfx/copilot.el)

My config is quite simple:

     (progn
       (require 'copilot)
       (add-hook 'prog-mode-hook 'copilot-mode)
       (add-hook 'git-commit-mode-hook 'copilot-mode)
       (add-hook 'org-mode-hook 'copilot-mode)
       (define-key copilot-completion-map (kbd "y") 'copilot-accept-completion)
       (define-key copilot-completion-map (kbd "n") 'copilot-next-completion)
       (define-key copilot-completion-map (kbd "c") 'copilot-clear-overlay)
       (global-set-key (kbd "C-M-S-s-u") 'copilot-complete)
       )
I only get suggestions if I use that key (the prefix looks huge but I have a Keyboardio Model 100 and I have that bound to the Any key, so I intentionally picked a crazy-long prefix hoping to avoid collision with other shortcuts) and that's the way I like to use these tools (which is why the behaviour in Cursor drives me crazy, though I admit I haven't spend time looking at its configuration, maybe it's something that can be turned off).

(Edit: formatting)


I’ll give it another look, thanks! Seems so easy to do!

This item has no comments currently.

Keyboard Shortcuts

Story Lists

j
Next story
k
Previous story
Shift+j
Last story
Shift+k
First story
o Enter
Go to story URL
c
Go to comments
u
Go to author

Navigation

Shift+t
Go to top stories
Shift+n
Go to new stories
Shift+b
Go to best stories
Shift+a
Go to Ask HN
Shift+s
Go to Show HN

Miscellaneous

?
Show this modal