8e886e9135
This is incomplete and does not currently work on my personal machine, due to how NixOS handles pip.
10 lines
377 B
EmacsLisp
10 lines
377 B
EmacsLisp
(use-package! chatgpt
|
|
:defer t
|
|
:config
|
|
(unless (boundp 'python-interpreter)
|
|
(defvaralias 'python-interpreter 'python-shell-interpreter))
|
|
(setq chatgpt-repo-path (expand-file-name "straight/repos/ChatGPT.el/" doom-local-dir))
|
|
(set-popup-rule! (regexp-quote "*ChatGPT*")
|
|
:side 'bottom :size .5 :ttl nil :quit t :modeline nil)
|
|
:bind ("C-c q" . chatgpt-query))
|