Bugfix
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user