feat: use use-package hooks rather than initialisation hooks
This commit is contained in:
parent
ffac1651ac
commit
85106bba28
1 changed files with 3 additions and 3 deletions
|
@ -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)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue