summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2020-01-02 14:16:09 +0100
committerAlan Pearce2020-01-02 14:16:09 +0100
commitf9dad789bc575eac04c894e64eba9dcf85e960d8 (patch)
treeec663af439994de6a4e60a46e9830aa778377573
parenteef5824c33a59788e6d6ab2233d698b106bce167 (diff)
downloadnixfiles-f9dad789bc575eac04c894e64eba9dcf85e960d8.tar.lz
nixfiles-f9dad789bc575eac04c894e64eba9dcf85e960d8.tar.zst
nixfiles-f9dad789bc575eac04c894e64eba9dcf85e960d8.zip
Emacs: install evil-matchit for better jumping between begin/end
-rw-r--r--user/emacs/.emacs.d/init.el5
-rw-r--r--user/settings/emacs.nix1
2 files changed, 6 insertions, 0 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el
index e946ce23..5af2709c 100644
--- a/user/emacs/.emacs.d/init.el
+++ b/user/emacs/.emacs.d/init.el
@@ -346,6 +346,11 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
   :after magit
   :config (setq evil-magit-use-y-for-yank nil))
 
+(use-package evil-matchit
+  :after evil
+  :config (progn
+            (global-evil-matchit-mode +1)))
+
 (use-package evil-quickscope
   :after evil
   :commands (evil-quickscope-mode)
diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix
index bbb4e033..a16a2e14 100644
--- a/user/settings/emacs.nix
+++ b/user/settings/emacs.nix
@@ -103,6 +103,7 @@ in
       evil-embrace
       evil-ledger
       evil-magit
+      evil-matchit
       evil-mu4e
       evil-org
       evil-quickscope