Fixed rustic on macos; updated gptel keybindings and models
This commit is contained in:
+3
-1
@@ -91,7 +91,9 @@ This adds relative line numbers while excluding certain modes.
|
||||
term-mode-hook
|
||||
vterm-mode-hook
|
||||
shell-mode-hook
|
||||
eshell-mode-hook))
|
||||
eshell-mode-hook
|
||||
gptel-mode-hook
|
||||
gptel-agent-mode-hook))
|
||||
(add-hook mode (lambda () (display-line-numbers-mode 0))))
|
||||
|
||||
; Enable relative line numbers
|
||||
|
||||
+8
-2
@@ -5,12 +5,18 @@ Implementing LLM features into Emacs through the ~gptel~ package.
|
||||
#+begin_src elisp
|
||||
(use-package gptel
|
||||
:config
|
||||
(setq gptel-model 'glm-5.1:cloud
|
||||
(setq gptel-model 'glm-5.3:cloud
|
||||
gptel-backend
|
||||
(gptel-make-ollama "Ollama"
|
||||
:host "mindforge.randomctf.lan:11434"
|
||||
:stream t
|
||||
:models '(kimi-k2.6:cloud glm-5.1:cloud gpt-oss:120b-cloud))))
|
||||
:models '(kimi-k3:cloud glm-5.3:cloud gpt-oss:120b-cloud)))
|
||||
(jm/leader-keys
|
||||
"aa" 'gptel-agent
|
||||
"am" 'gptel-menu
|
||||
"as" 'gptel-send
|
||||
"ak" 'gptel-abort))
|
||||
|
||||
#+end_src
|
||||
|
||||
There are also a set of tools associated with ~gptel~ in a ~gptel-agent~ repo. This contains various tools to make the integration more agentic.
|
||||
|
||||
+1
-1
@@ -98,7 +98,7 @@ Install ~ccls~ with homebrew using the following command.
|
||||
#+begin_src elisp
|
||||
(use-package rustic
|
||||
:defer t
|
||||
:hook (rust-mode . eglot-ensure)
|
||||
:custom (rustic-lsp-client 'eglot)
|
||||
:init
|
||||
(let ((brew-prefix (string-trim (shell-command-to-string "brew --prefix"))))
|
||||
(when (and (memq window-system '(mac ns x)) brew-prefix (f-directory-p brew-prefix))
|
||||
|
||||
Reference in New Issue
Block a user