emacs: sest up evil-embrace hooks more nicely
Alan Pearce alan@alanpearce.eu
Fri, 24 Mar 2023 07:27:44 +0100
1 files changed, 5 insertions(+), 5 deletions(-)
jump to
M user/emacs/init.el → user/emacs/init.el
@@ -418,14 +418,14 @@ (use-package evil-embrace :after evil-surround + :ghook ('LaTex-mode-hook #'embrace-LaTeX-mode-hook) + :ghook ('org-mode-hook #'embrace-org-mode-hook) + :ghook ('ruby-mode-hook #'embrace-ruby-mode-hook) + :ghook ('emacs-lisp-mode-hook #'embrace-emacs-lisp-mode-hook) :config (progn (setq evil-embrace-show-help-p nil) (push ?\/ evil-embrace-evil-surround-keys) - (evil-embrace-enable-evil-surround-integration) - (add-hook 'LaTeX-mode-hook #'embrace-LaTeX-mode-hook) - (add-hook 'org-mode-hook #'embrace-org-mode-hook) - (add-hook 'ruby-mode-hook #'embrace-ruby-mode-hook) - (add-hook 'emacs-lisp-mode-hook #'embrace-emacs-lisp-mode-hook))) + (evil-embrace-enable-evil-surround-integration))) (use-package evil-commentary :after evil