Add evil-cleverparens

This commit is contained in:
Alexander Rosenberg 2024-09-12 20:32:05 -07:00
parent c62ab7497f
commit 35797a591d
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -299,13 +299,19 @@ Interactively, force the recompile if called with a prefix."
("C-c C-=" . evil-numbers/inc-at-pt-incremental) ("C-c C-=" . evil-numbers/inc-at-pt-incremental)
("C-c C-+" . evil-numbers/inc-at-pt-incremental) ("C-c C-+" . evil-numbers/inc-at-pt-incremental)
("C-c C--" . evil-numbers/dec-at-pt-incremental))) ("C-c C--" . evil-numbers/dec-at-pt-incremental)))
(use-package evil-cleverparens
:hook ((lisp-mode emacs-lisp-mode) . evil-cleverparens-mode)
:custom
(evil-cleverparens-use-s-and-S nil))
;; make lisp editing nicer
(use-package aggressive-indent (use-package aggressive-indent
:hook (prog-mode . aggressive-indent-mode) :hook (prog-mode . aggressive-indent-mode)
:config :config
(add-to-list 'aggressive-indent-protected-commands (add-to-list 'aggressive-indent-protected-commands
#'evil-undo)) #'evil-undo))
;; and nicer
(use-package adjust-parens (use-package adjust-parens
:hook (prog-mode . adjust-parens-mode)) :hook (prog-mode . adjust-parens-mode))