From b258a9b37c06efcd3eae8bbaf76e61534df8a751 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sun, 4 Jun 2023 07:46:37 +0300 Subject: emacs: Add chatgpt --- emacs.org | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'emacs.org') diff --git a/emacs.org b/emacs.org index a109755..5d06ae6 100755 --- a/emacs.org +++ b/emacs.org @@ -1080,6 +1080,11 @@ Set aliases for emacs functions and ~PATH~ #+begin_src emacs-lisp (define-key thanos/applications-map (kbd "i") 'circe) #+end_src +* Chatgpt +#+begin_src emacs-lisp + (setq openai-key (password-store-get "chatgpt/api")) + (define-key 'thanos/applications-map (kbd "c") 'chatgpt) +#+end_src * Misc ** Random functions #+begin_src emacs-lisp -- cgit v1.2.3