#+TITLE: Parinfer layer
#+TAGS: layer|misc
[[file:img/parinfer.png]]
* Table of Contents :TOC_5_gh:noexport:
- [[#description][Description]]
- [[#features][Features:]]
- [[#install][Install]]
- [[#configuration][Configuration]]
- [[#key-bindings][Key bindings]]
* Description
This layer provides an implementation of [[https://shaunlebron.github.io/parinfer/][parinfer]], a lisp editing paradigm that
controls indentation based on parentheses or vice versa.
** Features:
- Automatic managment of parenthesis in clojure, emacs lisp, common-lisp and scheme following the parinfer editing paradigm.
* Install
To use this configuration layer, add it to your =~/.spacemacs=. You will need to
add =parinfer= to the existing =dotspacemacs-configuration-layers= list in this
file.
* Configuration
See the official package [[https://github.com/DogLooksGood/parinfer-mode][documentation]] for information about how the parinfer
works and how to configure it.
* Key bindings
| Key binding | Description |
|-------------+-----------------------------------------------|
| ~SPC t P~ | Toggle between parinfer indent and paren mode |