Fix ellama
This commit is contained in:
parent
17c3e41cfc
commit
ae238d5c1a
14
init.el
14
init.el
@ -169,6 +169,7 @@
|
|||||||
"^~/.mail/[^/]/Drafts/.*"
|
"^~/.mail/[^/]/Drafts/.*"
|
||||||
,(format "^%svar/elpa/.*" user-emacs-directory)
|
,(format "^%svar/elpa/.*" user-emacs-directory)
|
||||||
,(format "^%svar/gnus/.*" user-emacs-directory)
|
,(format "^%svar/gnus/.*" user-emacs-directory)
|
||||||
|
,(format "^%svar/ellama-sessions/.*" user-emacs-directory)
|
||||||
,(format "^%setc/gnus/.*" user-emacs-directory)))
|
,(format "^%setc/gnus/.*" user-emacs-directory)))
|
||||||
:bind ("C-c r" . recentf)
|
:bind ("C-c r" . recentf)
|
||||||
:config
|
:config
|
||||||
@ -1294,7 +1295,18 @@ buffers `helpful--sym' to `my/helpful-symbol-history'."
|
|||||||
|
|
||||||
;; ai stuff (also mostly fun)
|
;; ai stuff (also mostly fun)
|
||||||
(use-package ellama
|
(use-package ellama
|
||||||
|
:defer nil
|
||||||
:custom
|
: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
|
;;; init.el ends here
|
||||||
|
Loading…
Reference in New Issue
Block a user