Smartparens is a minor mode for dealing with pairs in Emacs. We generally target GNU Emacs version 24.3 and newer, however, everything should work mostly fine on anything newer than version 24. You can install smartparens from MELPA. Once installed, enable the default configuration. You may want to try smartparens-strict-mode. This enforces that pairs are always balanced, so commands like kill-line keep your code well-formed. Inside Emacs, M-x sp-cheat-sheet will show you all the commands available, with examples. Smartparens has a default configuration that works well for most languages. For language-specific behaviour, smartparens has a separate smartparens-FOO.el file for every language and smartparens-config.el loads these automatically.

Features

  • It can automatically insert pairs
  • Wrap, unwrap and rewrap pairs
  • Expand and contract pairs
  • Navigate pairs
  • You can learn more about how we test on the testing wiki page
  • You can open the individual files in Emacs

Project Samples

Project Activity

See All Activity >

Categories

Text Editors

License

GNU General Public License version 3.0 (GPLv3)

Follow Smartparens

Smartparens Web Site

Other Useful Business Software
AI-powered service management for IT and enterprise teams Icon
AI-powered service management for IT and enterprise teams

Enterprise-grade ITSM, for every business

Give your IT, operations, and business teams the ability to deliver exceptional services—without the complexity. Maximize operational efficiency with refreshingly simple, AI-powered Freshservice.
Try it Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Smartparens!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Emacs-Lisp

Related Categories

Emacs-Lisp Text Editors

Registered

2022-10-11