项目作者: emacs-evil

项目描述 :
The extensible vi layer for Emacs.
高级语言: Emacs Lisp
项目地址: git://github.com/emacs-evil/evil.git
创建时间: 2017-01-19T10:37:25Z
项目社区:https://github.com/emacs-evil/evil

开源协议:GNU General Public License v3.0

下载


An extensible vi layer for Emacs

Build status
MELPA
MELPA Stable
NonGNU ELPA
Documentation Status
License: GPL v3

Evil is an extensible vi layer
for Emacs. It emulates the main features
of Vim, and provides facilities for writing custom
extensions. Also see our page on EmacsWiki.

Installation

See the
official documentation
for installation instructions. We recommend using package.el.

As a quickstart, you can add the following code to your Emacs init
file.

  1. ;; Set up package.el to work with MELPA
  2. (require 'package)
  3. (add-to-list 'package-archives
  4. '("melpa" . "https://melpa.org/packages/"))
  5. (package-initialize)
  6. (package-refresh-contents)
  7. ;; Download Evil
  8. (unless (package-installed-p 'evil)
  9. (package-install 'evil))
  10. ;; Enable Evil
  11. (require 'evil)
  12. (evil-mode 1)

Dependencies

  • Evil requires Emacs 24.1 or later.

  • Evil requires any of the following for C-r:

    • undo-redo from Emacs 28
    • The undo-tree package (available via GNU ELPA)
    • The undo-fu package (available via MELPA and NonGNU ELPA)
  • For the motions g; g, and for the last-change-register ., Evil
    requires the goto-chg.el
    package (available via MELPA and NonGNU ELPA), which provides the
    functions goto-last-change and goto-last-change-reverse.

  • For Emacs 24.1 and 24.2 Evil also requires
    cl-lib.

Documentation

The latest version of the documentation is readable online
here. It is also
available as
PDF and
as EPUB.

Mailing list

Evil is discussed at the
gmane.emacs.vim-emulation
mailing list.

IRC

Visit us on irc.libera.chat #evil-mode.

Contribution

See
CONTRIBUTING.md
for guidelines for issues and pull requests.