summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Terin Stock <terinjokes@gmail.com>2026-09-26 03:19:55 +0200
committerLibravatar Terin Stock <terinjokes@gmail.com>2026-09-26 03:21:48 +0200
commite8d350eb66849a005305c7e1aa9cc01be159f1d6 (patch)
treef4a4d2278cf8406a380ae5b874de10929f2e39cb
parentfix(eat): ensure keyboard bindings (diff)
downloaddoom-emacs-e8d350eb66849a005305c7e1aa9cc01be159f1d6.tar.xz
fix(with-editor): add hook for eat
-rw-r--r--config.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/config.el b/config.el
index e7c4478..2e35cb3 100644
--- a/config.el
+++ b/config.el
@@ -83,10 +83,9 @@
(set-eglot-client! 'c-mode '("clangd" "-j=3" "--clang-tidy"))
(set-eglot-client! 'terraform-mode '("terraform-ls" "serve")))
-(add-hook 'shell-mode-hook 'with-editor-export-editor)
-(add-hook 'eshell-mode-hook 'with-editor-export-editor)
-(add-hook 'term-exec-hook 'with-editor-export-editor)
-(add-hook 'vterm-mode-hook 'with-editor-export-editor)
+(after! with-editor
+ (add-hook 'eshell-mode-hook #'with-editor-export-editor)
+ (add-hook 'eat-exec-hook #'with-editor-export-editor))
(use-package! meson-mode)
(use-package! ebuild-mode)