diff options
author | Alan Pearce | 2023-09-08 09:36:31 +0200 |
---|---|---|
committer | Alan Pearce | 2023-09-08 09:36:31 +0200 |
commit | 0b7321bccc0a13e6ba26606180b8cabc14511650 (patch) | |
tree | 0e00252655d4fbe9759872614205b581ddde285d /user | |
parent | 47b0e5df2a60baea4045461c4afaf1a012db7693 (diff) | |
download | nixfiles-0b7321bccc0a13e6ba26606180b8cabc14511650.tar.lz nixfiles-0b7321bccc0a13e6ba26606180b8cabc14511650.tar.zst nixfiles-0b7321bccc0a13e6ba26606180b8cabc14511650.zip |
emacs: enable exchanging two selections with cx
Diffstat (limited to 'user')
-rw-r--r-- | user/emacs/init.el | 5 | ||||
-rw-r--r-- | user/settings/emacs.nix | 1 |
2 files changed, 6 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 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 |