From 872e67328e281c06998d6b999d84696240e18abc Mon Sep 17 00:00:00 2001 From: "Jaisser J. Sanguino" Date: Mon, 27 Apr 2026 07:39:13 -0300 Subject: [PATCH] feat(ai): set gptel to send cursor at the end after response --- configs/init-ai.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configs/init-ai.el b/configs/init-ai.el index 88f8aeb..18c7685 100644 --- a/configs/init-ai.el +++ b/configs/init-ai.el @@ -54,6 +54,8 @@ gptel-directives '((default . "You are a large language model living in Emacs and a helpful assistant. Respond concisely in Spanish.")) ) + + (add-hook 'gptel-post-response-functions 'gptel-end-of-response) (setopt gptel-include-reasoning nil) ;; Mantener hasta resolver: https://github.com/ragnard/gptel-magit/issues/8 (defun gptel-switch+model ()