From 0b7321bccc0a13e6ba26606180b8cabc14511650 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 8 Sep 2023 09:36:31 +0200 Subject: emacs: enable exchanging two selections with cx --- user/emacs/init.el | 5 +++++ user/settings/emacs.nix | 1 + 2 files changed, 6 insertions(+) (limited to 'user') 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 diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix index 41abf654..5beac84c 100644 --- a/user/settings/emacs.nix +++ b/user/settings/emacs.nix @@ -112,6 +112,7 @@ in evil-collection evil-commentary evil-embrace + evil-exchange evil-matchit evil-mu4e evil-numbers -- cgit 1.4.1