From d4b776d609aa85ae4bcc69085bcdfe0644ad9a66 Mon Sep 17 00:00:00 2001 From: Marcos Magueta Date: Mon, 22 Jan 2024 21:44:35 -0300 Subject: add copilot configuration --- configuration.el | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configuration.el b/configuration.el index 177ec25..6f2d355 100644 --- a/configuration.el +++ b/configuration.el @@ -159,5 +159,13 @@ (use-package transpose-frame :straight t) +(use-package copilot + :straight (:host github :repo "copilot-emacs/copilot.el" :files ("dist" "*.el")) + :hook (prog-mode . copilot-mode) + :bind (:map copilot-mode-map + ("C-q " . copilot-accept-completion) + ("C-q " . copilot-next-completion) + ("C-q " . copilot-previous-completion))) + (provide 'configuration) ;;; configuration.el ends here -- cgit v1.2.3