diff options
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/.emacs.d/init.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el index 5d1be717..e946ce23 100644 --- a/user/emacs/.emacs.d/init.el +++ b/user/emacs/.emacs.d/init.el @@ -328,6 +328,15 @@ _p_rev _u_pper _=_: upper/lower _r_esolve :defer 2 :config (global-evil-surround-mode +1)) +(use-package evil-embrace + :after evil-surround + :config (progn + (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))) + (use-package evil-commentary :after evil :defer 2 |