This simple layer adds the evil-cleverparens package, which overrides common normal-mode vim commands like D, dd, c, etc. to keep parentheses balanced. See the repository for more details. All the layer does right now is to add a hook to load evil-cleverparens with emacs-lisp-mode.
To use this configuration layer, add it to your ~/.spacemacs
. You will need to
add evil-cleverparens
to the existing dotspacemacs-configuration-layers
list in this
file.
Then enable it in your user-config
function:
(spacemacs/toggle-evil-cleverparens-on)