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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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