config

Personal configuration.
git clone git://code.dwrz.net/config
Log | Files | Refs

commit 80aa98795b588adff40987a09059e39359783f6a
parent 4a5bafb072746d3c99cf7ca43adfe99895cfc6a8
Author: dwrz <dwrz@dwrz.net>
Date:   Fri, 29 Nov 2024 14:17:25 +0000

Update Emacs config

Diffstat:
Memacs/init.el | 13++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/emacs/init.el b/emacs/init.el @@ -368,7 +368,10 @@ (use-package eshell-vterm :demand t :after eshell - :config (eshell-vterm-mode)) + :config + (eshell-vterm-mode) + (add-to-list 'eshell-visual-commands "mg") + (add-to-list 'eshell-visual-commands "ssh")) (use-package faces :config @@ -433,7 +436,9 @@ :commands (gptel gtpel-send gptel-send-region gptel-send-buffer) :config (setq gptel-api-key (password-store-get "open-ai/emacs") - gptel-default-mode 'org-mode) + gptel-default-mode 'org-mode + gptel-prompt-prefix-alist + '((markdown-mode . "# ") (org-mode . "* ") (text-mode . "🤖: "))) (gptel-make-ollama "Ollama" :host "localhost:11434" :stream t @@ -444,11 +449,9 @@ :stream t :key (password-store-get "openrouter.ai/keys/emacs") :models '(openai/gpt-4o-2024-08-06 - meta-llama/llama-3.1-70b-instruct:free meta-llama/llama-3.1-70b-instruct meta-llama/llama-3.1-70b-instruct:nitro meta-llama/llama-3.1-405b-instruct - meta-llama/llama-3.1-405b-instruct:free meta-llama/llama-3.1-405b-instruct:nitro anthropic/claude-3.5-sonnet anthropic/claude-3-5-haiku)) @@ -1181,7 +1184,7 @@ (defvar-keymap dwrz-prefix-map :doc "Prefix keymap with multiple subkeymaps." :name "dwrz prefix" - :repeat (:exit (ignore)) + ;; :repeat (:exit (ignore)) "#" #'display-line-numbers-mode "&" #'async-shell-command "-" #'negative-argument