Difference between revisions of "Emacs for Vim users"
m (→Evil) |
m (modified header structure) |
||
Line 3: | Line 3: | ||
'''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 [[Vimpulse]] and [[VimMode vim-mode]]. | '''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 [[Vimpulse]] and [[VimMode vim-mode]]. | ||
− | == Quick install == | + | === Quick install === |
Using [[el-get]], Evil can be downloaded and installed with: M-x el-get-install RET evil RET. | Using [[el-get]], Evil can be downloaded and installed with: M-x el-get-install RET evil RET. | ||
− | == Download == | + | === Download === |
Alternatively, Evil lives in a Git repository. To download Evil, do: | Alternatively, Evil lives in a Git repository. To download Evil, do: | ||
Line 15: | Line 15: | ||
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##). | 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 == | + | === Install === |
Move Evil to ~/.emacs.d/evil (or somewhere else in your ##load-path##). Then add the following lines to ~/.emacs: | Move Evil to ~/.emacs.d/evil (or somewhere else in your ##load-path##). Then add the following lines to ~/.emacs: | ||
Line 25: | Line 25: | ||
Evil requires [UndoTree undo-tree.el] in the load-path for linear undo and undo branches. Otherwise, Evil uses regular Emacs undo. | Evil requires [UndoTree undo-tree.el] in the load-path for linear undo and undo branches. Otherwise, Evil uses regular Emacs undo. | ||
− | == Documentation == | + | === Documentation === |
A brief [https://gitorious.org/evil/evil/blobs/raw/doc/doc/evil.pdf PDF manual] is available in the /doc subdirectory. | A brief [https://gitorious.org/evil/evil/blobs/raw/doc/doc/evil.pdf PDF manual] is available in the /doc subdirectory. | ||
− | == Articles == | + | === Articles === |
* [http://dnquark.com/blog/2012/02/emacs-evil-ecumenicalism/ Emacs Evil Ecumenicalism] | * [http://dnquark.com/blog/2012/02/emacs-evil-ecumenicalism/ Emacs Evil Ecumenicalism] | ||
− | == Plug-ins == | + | === Plug-ins === |
* [https://github.com/timcharper/evil-surround evil-surround]: Port of Vim's surround script. | * [https://github.com/timcharper/evil-surround evil-surround]: Port of Vim's surround script. |
Revision as of 09:49, 25 March 2012
Evil
Evil is an extensible vi layer for Emacs. It provides Vim features like Visual selection and text objects, and is the successor to Vimpulse and VimMode vim-mode.
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 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
- evil-surround: Port of Vim's surround script.
- evil-numbers: Vim-like increment and decrement.
- evil-leader: Port of Vim's mapleader.