summaryrefslogtreecommitdiff
path: root/emacs.org
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-05-09 16:07:49 +0300
committerThanos Apollo <[email protected]>2023-05-09 16:07:49 +0300
commit289f19037fce06025c46e101846afd1c92e17ff1 (patch)
tree1f120b425a2db19b3c395f74dfcd8b883f3c647c /emacs.org
parent9f8b04cc7bbba14eda1a49b6a8896764bce9a5f0 (diff)
emacs: Set openai-key for chatgpt
Diffstat (limited to 'emacs.org')
-rwxr-xr-xemacs.org4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs.org b/emacs.org
index 0ce1173..e0d47e1 100755
--- a/emacs.org
+++ b/emacs.org
@@ -1171,6 +1171,10 @@ Create function to watch videos using ~mpv~
;;
#+end_src
+** Chatgpt
+#+begin_src emacs-lisp
+ (setq openai-key (password-store-get "chatgpt/api"))
+#+end_src
** Keybindings
#+begin_src emacs-lisp
(define-key dired-mode-map "b" 'dired-up-directory)