Difference between revisions of "Evil"

From WikEmacs
Jump to: navigation, search
m (default in emacs24)
Line 3: Line 3:
 
=== Quick install ===
 
=== Quick install ===
  
Using [[el-get]], Evil can be downloaded and installed with: M-x el-get-install RET evil RET.
+
Evil comes prebuilt in emacs24.
 +
In Emacs23, Evil can be downloaded and installed using [[el-get]] with: M-x el-get-install RET evil RET.
  
 
=== Download ===
 
=== Download ===

Revision as of 03:27, 8 August 2013

Evil is an extensible vi layer for Emacs. It provides Vim features like Visual selection and text objects, and is the successor to the now defunct vimpulse and vim-mode.

Quick install

Evil comes prebuilt in emacs24. In Emacs23, Evil can be downloaded and installed using el-get with: M-x el-get-install RET evil RET.

Download

Alternatively, Evil lives in a Git repository. To download Evil, do:

git clone git://gitorious.org/evil/evil.git

If you don't have Git, just head over to Gitorious and click the "Download master as tar.gz" link (extract with ##tar -xzf master.tar.gz##).

Install

Move Evil to ~/.emacs.d/evil (or somewhere else in your ##load-path##). Then add the following lines to ~/.emacs:

(add-to-list 'load-path "~/.emacs.d/evil")
(require 'evil)
(evil-mode 1)


Evil requires [UndoTree undo-tree.el] in the load-path for linear undo and undo branches. Otherwise, Evil uses regular Emacs undo.

Documentation

A brief PDF manual is available in the /doc subdirectory.

Articles

Plug-ins

Bug tracker

The bugtrucker can be found on Bitbucket.