feat: use use-package hooks rather than initialisation hooks

This commit is contained in:
Artur Manuel 2024-11-22 06:52:09 +00:00
commit 85106bba28

View file

@ -71,9 +71,9 @@
(c-basic-offset 4))
(use-package eat
:init
(add-hook 'eshell-load-hook #'eat-eshell-mode)
(add-hook 'eshell-load-hook #'eat-eshell-visual-command-mode)
:hook (eshell-load . (lambda ()
(eat-eshell-mode)
(eat-eshell-visual-command-mode)))
:bind (("C-c t" . eat)
("C-x p t" . eat-project)))