c893383fe4
- CSS links - GIFS in published version - Unify layer doc titles - Change emoji layer emojis to an image
27 lines
924 B
Org Mode
27 lines
924 B
Org Mode
#+TITLE: Evil-Cleverparens layer
|
|
#+HTML_HEAD_EXTRA: <link rel="stylesheet" type="text/css" href="../../../css/readtheorg.css" />
|
|
|
|
* Table of Contents :TOC_4_org:noexport:
|
|
- [[Description][Description]]
|
|
- [[Install][Install]]
|
|
|
|
* 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
|
|
|
|
To use this contribution add it to your =~/.spacemacs=.
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
(setq-default dotspacemacs-configuration-layers '(evil-cleverparens))
|
|
#+END_SRC
|
|
|
|
Then enable it in your =user-config= function:
|
|
|
|
#+BEGIN_SRC emacs-lisp
|
|
(spacemacs/toggle-evil-cleverparens-on)
|
|
#+END_SRC
|