Add evil-cleverparens
This commit is contained in:
parent
c62ab7497f
commit
35797a591d
6
init.el
6
init.el
@ -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/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
|
||||
:hook (prog-mode . aggressive-indent-mode)
|
||||
:config
|
||||
(add-to-list 'aggressive-indent-protected-commands
|
||||
#'evil-undo))
|
||||
|
||||
;; and nicer
|
||||
(use-package adjust-parens
|
||||
:hook (prog-mode . adjust-parens-mode))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user