commit 239e70f9d71deccc0c52198cd08c166416a7095f
parent 4ab62d48757e4f45d94bcabc336dac1f92df64fd
Author: Vincent Demeester <vincent@sbr.pm>
Date: Thu, 7 Dec 2023 18:56:25 +0100
tools/emacs: add surround package
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/tools/emacs/config/config-editing.el b/tools/emacs/config/config-editing.el
@@ -171,5 +171,8 @@ If region is active, add its contents to the new buffer."
(package-vc-install "https://github.com/balloneij/selection-highlight-mode"))
:config (selection-highlight-mode))
+(use-package surround
+ :bind-keymap ("M-'" . surround-keymap))
+
(provide 'config-editing)
;;; config-editing.el ends here
diff --git a/users/vincent/dev/emacs.nix b/users/vincent/dev/emacs.nix
@@ -127,6 +127,7 @@ let
scratch
shr-tag-pre-highlight
smartparens
+ surround
symbol-overlay
tempel
tempel-collection