This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+vim/evil-cleverparens
syl20bnr fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
..
packages.el Bump year in copyright headers 2017-01-05 23:08:17 -05:00
README.org Justify paragraphs in the evil-cleverparens README 2016-04-05 12:57:57 +02:00

Evil-Cleverparens layer

Description

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.

Install

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 and add your desired hooks, for example:

  (spacemacs/toggle-evil-cleverparens-on)
  (add-hook 'clojure-mode-hook #'evil-cleverparens-mode)