emacs: add gptel
This commit is contained in:
parent
83cf194c18
commit
b30138f731
1 changed files with 20 additions and 2 deletions
|
@ -347,7 +347,7 @@ Disabled because the configuration is handled by Nix using [[https://github.com/
|
|||
|
||||
(general-define-key
|
||||
:prefix my/leader
|
||||
"C" 'find-config)
|
||||
"c" 'find-config)
|
||||
#+end_src
|
||||
** Appearance
|
||||
|
||||
|
@ -861,6 +861,7 @@ Enable [[https://github.com/BurntSushi/ripgrep][ripgrep]] support
|
|||
#+end_src
|
||||
|
||||
** TRAMP
|
||||
|
||||
Set some connection properties
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
|
@ -869,6 +870,24 @@ Set some connection properties
|
|||
"remote-shell" "/bin/bash")))
|
||||
#+end_src
|
||||
|
||||
** Ollama
|
||||
|
||||
Let's evaluate this puppy.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(use-package gptel
|
||||
:general
|
||||
(:prefix my/leader
|
||||
"m" 'gptel-menu
|
||||
"C-m" 'gptel-send)
|
||||
:config
|
||||
(setq gptel-model "mistral-nemo"
|
||||
gptel-backend (gptel-make-ollama "Ollama"
|
||||
:host "100.119.162.110:11434"
|
||||
:stream t
|
||||
:models '("mistral"))))
|
||||
#+end_src
|
||||
|
||||
** Git
|
||||
|
||||
Magit. Obviously.
|
||||
|
@ -1663,7 +1682,6 @@ Highlighting for device tree configuration.
|
|||
#+end_src
|
||||
|
||||
|
||||
|
||||
* Org
|
||||
|
||||
** Main org setup
|
||||
|
|
Loading…
Reference in a new issue