Difference between revisions of "Evil"

From WikEmacs
Jump to: navigation, search
(ZPnHhwzpGxXpwIWeT)
Line 1: Line 1:
'''Evil''' is an '''e'''xtensible '''vi''' '''l'''ayer for Emacs. It provides Vim features like Visual selection and text objects, and is the successor to the now defunct vimpulse and vim-mode.
+
zlib包shell> ./configure --prefix=/usr/local/zlibshell> make checkshell> make inltsal libpng包 支持PNG shell> ./configure --prefix=/usr/local/libpngshell> makeshell> make inltsal jpeg-6b包 支持jpg格式 shell> ./configure --prefix=/usr/local/jpeg-6b --enable-share --enable-staticshell> make testshell> makeshell> make inltsalshell> make inltsal-lib freetype包 字体支持 shell> ./configure --prefix=/usr/local/freetypeshell> makeshell> make inltsal 最后安装gd包shell> ./configure --prefix=/usr/local/gd2 --with-jpeg=/usr/local/jpeg-6b --with-zlib-dir=/usr/local/zlib --with-png=/usr/local/libpng --with-freetype=/usr/local/freetypeshell> makeshell> make inltsal
 
+
=== Quick install ===
+
 
+
Using [[el-get]], Evil can be downloaded and installed 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 [https://gitorious.org/evil/evil/commits/master 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 [https://gitorious.org/evil/evil/blobs/raw/doc/doc/evil.pdf PDF manual] is available in the /doc subdirectory.
+
 
+
=== Articles ===
+
 
+
* [http://dnquark.com/blog/2012/02/emacs-evil-ecumenicalism/ Emacs Evil Ecumenicalism]
+
 
+
=== Plug-ins ===
+
 
+
* [https://github.com/timcharper/evil-surround evil-surround]: Port of Vim's surround script.
+
 
+
* [https://github.com/cofi/evil-numbers evil-numbers]: Vim-like increment and decrement.
+
 
+
* [https://github.com/cofi/evil-leader evil-leader]: Port of Vim's mapleader.
+
 
+
[[Category:Vi User]] [[Category:Vim User]]
+

Revision as of 08:24, 22 June 2012

zlib包shell> ./configure --prefix=/usr/local/zlibshell> make checkshell> make inltsal libpng包 支持PNG shell> ./configure --prefix=/usr/local/libpngshell> makeshell> make inltsal jpeg-6b包 支持jpg格式 shell> ./configure --prefix=/usr/local/jpeg-6b --enable-share --enable-staticshell> make testshell> makeshell> make inltsalshell> make inltsal-lib freetype包 字体支持 shell> ./configure --prefix=/usr/local/freetypeshell> makeshell> make inltsal 最后安装gd包shell> ./configure --prefix=/usr/local/gd2 --with-jpeg=/usr/local/jpeg-6b --with-zlib-dir=/usr/local/zlib --with-png=/usr/local/libpng --with-freetype=/usr/local/freetypeshell> makeshell> make inltsal