summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2023-09-08 09:36:31 +0200
committerAlan Pearce2023-09-08 09:36:31 +0200
commit0b7321bccc0a13e6ba26606180b8cabc14511650 (patch)
tree0e00252655d4fbe9759872614205b581ddde285d /user/emacs
parent47b0e5df2a60baea4045461c4afaf1a012db7693 (diff)
downloadnixfiles-0b7321bccc0a13e6ba26606180b8cabc14511650.tar.lz
nixfiles-0b7321bccc0a13e6ba26606180b8cabc14511650.tar.zst
nixfiles-0b7321bccc0a13e6ba26606180b8cabc14511650.zip
emacs: enable exchanging two selections with cx
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index b9edb839..dd4e8292 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -448,6 +448,11 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
             (push ?\/ evil-embrace-evil-surround-keys)
             (evil-embrace-enable-evil-surround-integration)))
 
+(use-package evil-exchange
+  :after evil
+  :config (progn
+            (evil-exchange-cx-install)))
+
 (use-package evil-commentary
   :after evil
   :defer 2