2015-12-02 14:23:39 +00:00
|
|
|
#+TITLE: Evil-Cleverparens layer
|
2015-08-24 23:32:31 +00:00
|
|
|
|
2016-03-31 02:59:55 +00:00
|
|
|
* Table of Contents :TOC_4_gh:noexport:
|
|
|
|
- [[#description][Description]]
|
|
|
|
- [[#install][Install]]
|
2015-08-24 23:32:31 +00:00
|
|
|
|
|
|
|
* Description
|
|
|
|
|
|
|
|
This simple layer adds the [[https://github.com/luxbock/evil-cleverparens][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.
|
|
|
|
|
|
|
|
* Install
|
2016-01-06 05:21:55 +00:00
|
|
|
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.
|
2015-11-27 05:43:42 +00:00
|
|
|
|
|
|
|
Then enable it in your =user-config= function:
|
|
|
|
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
|
|
(spacemacs/toggle-evil-cleverparens-on)
|
|
|
|
#+END_SRC
|