Skip to content

Instantly share code, notes, and snippets.

@fipar
Last active September 11, 2023 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fipar/816b8bf9f57d177da0ed28392b7baf39 to your computer and use it in GitHub Desktop.
Save fipar/816b8bf9f57d177da0ed28392b7baf39 to your computer and use it in GitHub Desktop.
copilot.el
(execute-on-machine work-machine (add-to-list 'load-path
"~/l360/src/extern/copilot.el"))
(execute-on-machine work-machine (progn
(require 'copilot)
(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 "s-u") 'copilot-complete)
))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment