summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2024-12-30 14:26:39 +0100
committerAlan Pearce2024-12-30 14:29:27 +0100
commitbde4db59a7e054713f866f3c1a235fbbe4c20f51 (patch)
tree182c8e0b4b792aafa989ac18b639a7b44bce7c43 /user/emacs
parent50e3862ef17fa0aeff2e61b4e3cb61934548721f (diff)
downloadnixfiles-bde4db59a7e054713f866f3c1a235fbbe4c20f51.tar.lz
nixfiles-bde4db59a7e054713f866f3c1a235fbbe4c20f51.tar.zst
nixfiles-bde4db59a7e054713f866f3c1a235fbbe4c20f51.zip
install ollama + emacs frontend
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 742107f5..037f8385 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -790,6 +790,12 @@ _C-k_: prev  _u_pper              _=_: upper/lower       _s_mart resolve
   :general (:keymaps 'comint-mode-map
                      "C-c C-l" #'counsel-shell-history))
 
+(use-package chatgpt-shell
+  :defer 5
+  :config (progn
+            (chatgpt-shell-ollama-load-models :override t)
+            (setq chatgpt-shell-model-version "llama3.3")))
+
 ;;; Editing
 
 (setq-default tab-always-indent 'complete