The extensible vi layer for Emacs. evil

GPL-3.0 License
C/C++
跨平台
2021-12-02
首席测试

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.

;; Set up package.el to work with MELPA
(require 'package)
(add-to-list 'package-archives
             '("melpa" . "https://melpa.org/packages/"))
(package-initialize)
(package-refresh-contents)

;; Download Evil
(unless (package-installed-p 'evil)
  (package-install 'evil))

;; Enable Evil
(require 'evil)
(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)
  • 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.

加载中

暂无资讯

暂无问答

Dr. Evil Underscores

D - Dr. Evil Underscores 参考:Codeforces Round #613 (Div. 2) Editorial 其实比赛的时候就已经想到了基本上一样的解法,可是最后还是没有写出来... 具体思路就是分治,在二进制中,如果$...

2020/01/11 11:59
2
0
global var is evil too

一个 demo 说明在 OR 中为什么不推荐使用全局变量: -- global_var.lua local _M = {} function _M.test() i = tonumber(ngx.var.arg_i) ngx.sleep(tonumber(ngx.var.arg_sleep)) ngx.say(ng...

2016/09/13 15:48
2
0
Vista, the evil OS in the world.

看了驱动之家关于Vista的新闻,感觉Vista真实一个邪恶的操作系统,特写此文发表一些自己的看法。 News from Mydrivers says Microsoft has released Vista 5728, and Vista entered the new ...

2006/09/24 00:00
160
0
WiFi Pineapple之Evil Portal

声明 由于传播、利用此文所提供的信息而造成的任何直接或者间接的后果及损失,均由使用者本人负责,雷神众测以及文章作者不为此承担任何责任。 雷神众测拥有对此文章的修改和解释权。如欲转载...

2020/12/12 15:00
144
0
Codeforces-613D Dr. Evil Underscores

Description Today, as a friendship gift, Bakry gave Badawy nn integers $a_1,a_2,…,a_n$ and challenged him to choose an integer $X$ such that the value $\mathop{max}\limits_{1≤...

2020/01/12 17:35
6
0
[CF526G]Spiders Evil Plan

题意 https://codeforces.com/problemset/problem/526/G 思考 先考虑只有一次询问。如果我们选择了k条路径,那么就会有2k个叶子节点;反过来,如果选择了2k个叶子节点,总存在一种方案使得组...

2019/08/27 09:43
22
0
CF337 D. Book of Evil

题目链接:http://codeforces.com/problemset/problem/337/D 题意:有n个村庄,其中有m个村庄收到了魔鬼书本的影响,d是书本的最大影响距离,求这个书本可能在的村庄的个数。 题解:这道题就...

2018/06/15 15:01
17
0
httpleaks及url的小技巧(http:evil)

HTTP Leak攻击简介 当前Web技术下包含了大量HTML元素和属性,这些HTML元素和属性会请求一些外部资源,而在它们的HTTP请求过程中,可能存在潜在的敏感信息泄露。为此,德国著名网络安全公司C...

2019/08/28 23:23
1
0
【CF526G】Spiders Evil Plan(贪心)

【CF526G】Spiders Evil Plan(贪心) 题面 洛谷 CodeForces 给定一棵树,要求选择$y$条链,满足被链覆盖的所有点在树上联通,且$x$必定在联通块中。 对于每次询问最大化被链覆盖的边的权值和...

2019/02/15 16:46
5
0
响铃:Don't be evil?Google别闹了

文|曾响铃 来源|科技向令说(xiangling0815) 刚刚被欧盟贴了巨额罚单的Google又开心起来。美国时间7月23日,谷歌母公司Alphabet公布了2018年二季度财报,总营收326.57亿美元,同比增长26%。...

2020/07/24 07:40
1
0

没有更多内容

加载失败,请刷新页面

返回顶部
顶部