actually implement copilot-chat

This commit is contained in:
Janis 2025-08-07 16:46:45 +02:00
parent 41f5c3340a
commit bfd64368c4

View file

@ -1423,6 +1423,30 @@ Use =inheritenv= and =envrc= to load ~.envrc~ direnv files:
#+end_src #+end_src
*** copilot-chat.el *** 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 *** COMMENT Ollama
I feel so bad for this.. but its not awful.. I feel so bad for this.. but its not awful..