evil-mode要先安装undo-tree.el
m-x package-install
查找undo-tree并安装之
在evil官网下载
git clone git://gitorious.org/evil/evil.git
Install
Move Evil to ~/.emacs.d/evil
. Then add the following lines to ~/.emacs
:
(add-to-list 'load-path "~/.emacs.d/evil")
(require 'evil)
(evil-mode 1)
Evil requires undo-tree.el in the load-path
for linear undo and undo branches.