diff --git a/init.el b/init.el index c6bc26a..ea9f5c3 100644 --- a/init.el +++ b/init.el @@ -169,6 +169,7 @@ "^~/.mail/[^/]/Drafts/.*" ,(format "^%svar/elpa/.*" user-emacs-directory) ,(format "^%svar/gnus/.*" user-emacs-directory) + ,(format "^%svar/ellama-sessions/.*" user-emacs-directory) ,(format "^%setc/gnus/.*" user-emacs-directory))) :bind ("C-c r" . recentf) :config @@ -1294,7 +1295,18 @@ buffers `helpful--sym' to `my/helpful-symbol-history'." ;; ai stuff (also mostly fun) (use-package ellama + :defer nil :custom - (ellama-keymap-prefix "C-c m")) + (ellama-sessions-directory (no-littering-expand-var-file-name + "ellama-sessions")) + (ellama-major-mode 'markdown-mode) ;; fix text inserting at top of buffer + (ellama-session-file-extension "md") + (ellama-nick-prefix "##") + (ellama-keymap-prefix "C-c m") + :hook (ellama-session-mode . my/-ellama-startup-hook) + :init + (defun my/-ellama-startup-hook () + "Hook to do stuff in llama buffers." + (auto-fill-mode -1))) ;;; init.el ends here