This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+misc/parinfer
2021-03-25 22:59:32 -04:00
..
img
packages.el Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
README.org [parinfer] Switch implementation to parinfer-rust-mode 2021-03-07 23:09:22 +01:00

Parinfer layer

/TakeV/spacemacs/media/commit/2fbe8cd3a32e0d7b48a03f38d7e999b52176b25f/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. It 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