commit 24a2d24b66934a1402bf1f2f54f4fed23271d212 parent 4d806e5bf325da2215b5d41bbce44ed97f4e7704 Author: Michael Neuper <michael@michaelneuper.com> Date: Fri, 15 Nov 2024 17:27:00 +0200 enable github copilot Diffstat:
| M | config.org | | | 10 | ++++++++++ |
| M | packages.el | | | 2 | ++ |
2 files changed, 12 insertions(+), 0 deletions(-)
diff --git a/config.org b/config.org @@ -61,6 +61,16 @@ corfu-preselect 'first +corfu-want-tab-prefer-expand-snippets t)) #+end_src +*** copilot +#+begin_src emacs-lisp +(after! (evil copilot) + (evil-define-key 'insert 'global (kbd "<tab>") 'copilot-accept-completion)) + +(map! :leader + (:prefix "t" + :desc "Copilot" + "c" #'copilot-mode)) +#+end_src ** :ui *** doom-dashboard #+begin_src emacs-lisp diff --git a/packages.el b/packages.el @@ -7,3 +7,5 @@ (package! xenops) ; org-latex previews (package! org-roam-ui) +(package! copilot + :recipe (:host github :repo "copilot-emacs/copilot.el" :files ("*.el")))