From a6c81d05bac145c6fa8b8efabf9d03f93c32890d Mon Sep 17 00:00:00 2001 From: Laurens Miers Date: Sun, 8 Sep 2024 18:45:34 +0200 Subject: [PATCH] ADD smartparens --- config_new.org | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/config_new.org b/config_new.org index 6d4403d..1bfa1c6 100644 --- a/config_new.org +++ b/config_new.org @@ -299,6 +299,22 @@ Magit depends on this and it seems it's not installed as a dependency, so instal ) #+END_SRC +** Smartparens +Smart minor-mode to deal with pairs. + +https://github.com/Fuco1/smartparens + +#+BEGIN_SRC emacs-lisp +(use-package smartparens + :ensure t + :bind + ("C-M-w" . sp-copy-sexp) + :hook (prog-mode text-mode markdown-mode) + :config + (require 'smartparens-config) +) +#+END_SRC + * Multiple cursors #+BEGIN_SRC emacs-lisp