From 021e19fb3c1ad70c89731faa1e53fc5123c618fe Mon Sep 17 00:00:00 2001 From: kj Date: Mon, 1 Sep 2025 11:53:00 -0300 Subject: [PATCH] Add copilot package. It is disabled by default but can be enabled if necessary. --- configs/init-ai.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/configs/init-ai.el b/configs/init-ai.el index 38c7358..e3fb5a5 100644 --- a/configs/init-ai.el +++ b/configs/init-ai.el @@ -41,5 +41,12 @@ ) ) +(use-package copilot + :bind (("M-" . copilot-complete) + :map copilot-completion-map + ("C-g" . 'copilot-clear-overlay) + ("C-" . 'copilot-accept-completion) + ("C-" . 'copilot-accept-completion-by-word))) + (provide 'init-ai) ;;; init-ai.el ends here