spacemacs/layers/+vim/evil-cleverparens
2017-05-22 18:35:37 +03:00
..
packages.el Replace use-package :diminish by spacemacs|hide-lighter 2017-02-13 08:38:37 -05:00
README.org update docs to the new toc-org format 2017-05-22 18:35:37 +03: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)