spacemacs/layers/+misc/parinfer
Arif Er 00f9ab19ac chore: update copyright headers to 2022
The script used to identify and update the change is added into the GitHub
workflows script directory. A workflow action can be created to trigger the
script to update the headers on the first of every new year. Possibly a task for
a consequent PR.
2022-06-03 17:32:20 +02:00
..
img Clean up parinfer layer 2017-05-29 11:36:46 +02:00
README.org [parinfer] Allow to disable auto-installation 2021-05-17 21:24:54 +00:00
config.el chore: update copyright headers to 2022 2022-06-03 17:32:20 +02:00
packages.el chore: update copyright headers to 2022 2022-06-03 17:32:20 +02:00

README.org

Parinfer layer

/TakeV/spacemacs/media/commit/fcf3aa7c9eb500845f94194bc7561f4ec4d59976/layers/+misc/parinfer/img/parinfer.png

Description

This layer provides an implementation of parinfer, a lisp editing paradigm that controls indentation based on parentheses or vice versa.

Features:

  • Automatic management of parenthesis in clojure, emacs lisp, common-lisp and scheme following the parinfer editing paradigm.
  • Powered by a native library in the background

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

This package comes preconfigured to auto install the native library in your cache directory. If this is not desired set the variables parinfer-auto-download to nil and set parinfer-library to the path of your local installation. This mode uses the new smart-mode instead of the indent-mode traditionally used with parinfer. For the autoinstallation curl is required to be in your path.

If you still want to manually configure it please check the respective package repo here.

Key bindings

Key binding Description
SPC t P Toggle between parinfer smart indent and paren mode