diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/.emacs.d/init.el | 9 | ||||
-rw-r--r-- | user/settings/emacs.nix | 1 |
2 files changed, 10 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 diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix index 552784ab..bbb4e033 100644 --- a/user/settings/emacs.nix +++ b/user/settings/emacs.nix @@ -100,6 +100,7 @@ in evil-anzu evil-collection evil-commentary + evil-embrace evil-ledger evil-magit evil-mu4e |