

Github GitHub - rgrinberg/evil-quick-diff: linediff.vim for evil
source link: https://github.com/rgrinberg/evil-quick-diff
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

evil-quick-diff
This is a replacement for the linediff.vim plugin. It's not a faithful port, as it uses ediff for diffing, but the spirit is the same.
The implementation itself is heavily based on evil-exchange.
The default operator key for diffing is god
. While goD
is used for canceling.
Installation
(use-package evil-quick-diff :init ;; change default key bindings (if you want) HERE ;; (setq evil-quick-diff-key (kbd "zx")) (evil-quick-diff-install))
Customization
You can change the default bindings by customizing evil-quick-diff-key
and/or
evil-quick-diff-cancel-key
before evil-quick-diff-install
is called.
Wish List
-
Support linewise and wordwise diffing. Ediff doesn't seem to have a convenient way to do this easily.
-
Support diffing post pretty-printing. To diff things such sexpressions easily.
Recommend
-
122
vim-gitgutter A Vim plugin which shows a git diff in the sign column. It shows which lines have been added, modified, or removed. You can also preview, stage, and undo individual hunks; and stage partial hunks. The plugin also provides...
-
131
vim-ocaml Vim runtime files for OCaml. These are synced periodically with the builtin support that comes with Vim. Users are recommended to use this repository directly however as it's more up to date. Installation Dependi...
-
107
sebastian/diff Diff implementation for PHP, factored out of PHPUnit into a stand-alone component. Installation You can add this library as a local, per-project dependency to your project using
-
11
Evil--在Emacs中模拟Vim 这篇文章过时了,参见皈依Emacs,现在我对操作方式有较大调整。 Vim模拟平心而论,Vim的m...
-
20
English is not my first language, so feel free to correct any of my mistake. evil-exchange Easy text exchange operator for Evil. This is the port of vim-exchange by Tom McD...
-
16
It's Difftastic! Difftastic is an experimental structured diff tool that compares files based on their syntax. It is very much unfinished. It works reasonably on very parenthesised data (lisps, JSON), it works sometimes on oth...
-
16
It's Difftastic! Difftastic is an experimental structured diff tool that compares files based on their syntax. It is very much unfinished. It works reasonably on very parenthesised data (lisps, JSON), it works sometimes on oth...
-
12
V2EX › Vim 用 vim 编辑 Git commit,展示 diff 信息 jdhao · 7 小时 12 分钟前 · 644 次点击
-
11
Copy link Contributor the8472 com...
-
8
New issue Tracking Issue for int_abs_diff #89492 ...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK