This commit is contained in:
2026-03-15 01:59:48 +02:00
parent 9e59e32d0e
commit 447cd2954d
3 changed files with 4 additions and 16 deletions
-12
View File
@@ -29,18 +29,6 @@
;; This is where I would update agents if I had them
;; (setq gptel-agent-dirs '("/home/aner/.agents"))
;; (gptel-agent-update)
(use-package agent-shell
:ensure t
:ensure-system-package
:config
;; Evil state-specific RET behavior: insert mode = newline, normal mode = send
(evil-define-key 'insert agent-shell-mode-map (kbd "RET") #'newline)
(evil-define-key 'normal agent-shell-mode-map (kbd "RET") #'comint-send-input)
(add-hook 'diff-mode-hook
(lambda ()
(when (string-match-p "\\*agent-shell-diff\\*" (buffer-name))
(evil-emacs-state)))))
#+end_src
** Headphones