diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index b8d8d863..bb59c2aa 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -418,14 +418,14 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (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 |