mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-13 23:51:34 +09:00
copilot & gpt packages add
This commit is contained in:
@ -7,6 +7,17 @@
|
||||
(setq gptel-model "gpt-4o-mini")
|
||||
(setq gptel-api-key custom-chatgpt-my-key))
|
||||
|
||||
(use-package org-ai
|
||||
:straight t
|
||||
:ensure t
|
||||
:commands (org-ai-mode
|
||||
org-ai-global-mode)
|
||||
:init
|
||||
(add-hook 'org-mode-hook #'org-ai-mode) ; enable org-ai in org-mode
|
||||
(org-ai-global-mode) ; installs global keybindings on C-c M-a
|
||||
:config
|
||||
(setq org-ai-default-chat-model "gpt-4") ; if you are on the gpt-4 beta:
|
||||
(org-ai-install-yasnippets)) ; if you are using yasnippet and want `ai` snippets
|
||||
|
||||
(provide 'init-chatgpt)
|
||||
;;; init-chatgpt.el ends here
|
||||
|
||||
@ -5,5 +5,9 @@
|
||||
:ensure t)
|
||||
;; :hook (prog-mode . copilot-mode))
|
||||
|
||||
(use-package copilot-chat
|
||||
:straight (:host github :repo "chep/copilot-chat.el" :files ("*.el"))
|
||||
:after (request org markdown-mode shell-maker))
|
||||
|
||||
(provide 'init-copilot)
|
||||
;;; init-copilot.el ends here
|
||||
|
||||
Reference in New Issue
Block a user