Skip to content

emacsmirror/enclose

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enclose Build Status

Enclose is a minor mode for Emacs that encloses cursor within punctuation pairs. For example, hitting the key ( will insert () and place the cursor in between.

Installation

I recommend installing via ELPA, but manual installation is simple as well:

(add-to-list 'load-path "/path/to/enclose")
(require 'enclose)

Usage

Start enclose-mode using.

(enclose-mode t)

or

M-x enclose-mode

Now try pressing any of the following keys: ", ', (, {, [.

For more information, see comments in enclose.el.

Contribution

Contribution is much welcome! Enclose is tested using Ecukes. When adding new features, please write tests for them!

Install cask if you haven't already, then:

$ cd /path/to/enclose
$ cask

Run all tests with:

$ make

Packages

No packages published

Languages

  • Emacs Lisp 67.3%
  • Gherkin 32.3%
  • Makefile 0.4%