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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start 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