From bfd64368c46736764d72fa2a989c203d44d84e99 Mon Sep 17 00:00:00 2001 From: Janis Date: Thu, 7 Aug 2025 16:46:45 +0200 Subject: [PATCH] actually implement copilot-chat --- init.org | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/init.org b/init.org index ad1dc95..16e7d72 100644 --- a/init.org +++ b/init.org @@ -1423,6 +1423,30 @@ Use =inheritenv= and =envrc= to load ~.envrc~ direnv files: #+end_src *** copilot-chat.el +#+begin_src emacs-lisp +(use-package copilot-chat + :straight (:host github :repo "chep/copilot-chat.el" :files ("*.el")) + :after (org markdown-mode) + :general + (leader-def + "cg" #'copilot-chat-insert-commit-message + "cG" #'copilot-chat-regenerate-commit-message + "cC" #'copilot-chat-display + "cba" #'copilot-chat-add-current-buffer + "cbd" #'copilot-chat-del-current-buffer + "cbw" #'copilot-chat-add-workspace + "cbf" #'copilot-chat-add-file + "cbb" #'copilot-chat-list + "cch" #'copilot-chat-hide + "ccx" #'copilot-chat-reset + "ccb" #'copilot-chat-switch-to-buffer + "ccd" #'copilot-chat-doc + "ccr" #'copilot-chat-review + "ccm" #'copilot-chat-set-model + "cy" #'copilot-chat-yank + ) + ) +#+end_src *** COMMENT Ollama I feel so bad for this.. but its not awful..