Emacs: configure evil-embrace to supplement evil-surround
Alan Pearce alan@alanpearce.eu
Thu, 02 Jan 2020 14:03:12 +0100
2 files changed, 10 insertions(+), 0 deletions(-)
M user/emacs/.emacs.d/init.el → user/emacs/.emacs.d/init.el
@@ -328,6 +328,15 @@ :after evil :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
M user/settings/emacs.nix → user/settings/emacs.nix
@@ -100,6 +100,7 @@ evil evil-anzu evil-collection evil-commentary + evil-embrace evil-ledger evil-magit evil-mu4e