Update init.el

This commit is contained in:
2026-04-17 21:59:01 -07:00
parent c9c6d9dd33
commit 17093d25c2

View File

@@ -2798,10 +2798,10 @@ Actually, return the method name."
(apply oldfun r)))
(advice-add 'evil--sw-refresh-cursor :around
#'my/-evil-disable-cursor-in-eat-buffer)
(defun my/-eat-update-cursor-on-tty (&rest r)
(etcc--evil-set-cursor))
(advice-add 'eat--set-cursor :after
#'my/-eat-update-cursor-on-tty)
;; (defun my/-eat-update-cursor-on-tty (&rest r)
;; (etcc--evil-set-cursor))
;; (advice-add 'eat--set-cursor :after
;; #'my/-eat-update-cursor-on-tty)
(defun my/-eat-disable-evil-in-char-mode ()
(if eat--char-mode
(evil-local-mode -1)