Commands for inserting pairs of characters

Alex Kost 326aab3212 gitignore: Add "autoloads.el" 8 роки тому
.gitignore 326aab3212 gitignore: Add "autoloads.el" 8 роки тому
README.org 1ee0dd9a64 Initial commit 10 роки тому
insert-pair.el 8d39bbd8fb Remove "gitorious" URL since it is dead 9 роки тому

README.org

About

This Emacs package provides commands for inserting pairs of characters. These commands work in the same way as M-x insert-parentheses does; the only difference is they insert other characters: [], {}, <>, …

Installation

Automatic

You may easily install this package with Quelpa:


(quelpa '(insert-pair :fetcher github :repo "alezost/insert-pair.el"))

Manual

The manual installation is much less convenient because you need to add (to your =.emacs=) autoloads for all the commands you need, i.e.:


(add-to-list 'load-path "/path/to/insert-pair-dir")
(autoload 'insert-pair-curly-brackets "insert-pair" nil t)
(autoload 'insert-pair-double-quotations "insert-pair" nil t)
(autoload 'insert-pair-grave-accent-quotation "insert-pair" nil t)
...