https://github.com/nhoad/differ
Neovim compatible gitgutter style plugin
https://github.com/nhoad/differ
abandoned vcs vim
Last synced: about 1 month ago
JSON representation
Neovim compatible gitgutter style plugin
- Host: GitHub
- URL: https://github.com/nhoad/differ
- Owner: nhoad
- License: bsd-3-clause
- Created: 2015-08-02T10:14:59.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2017-08-11T23:38:59.000Z (almost 9 years ago)
- Last Synced: 2025-05-30T00:59:57.056Z (about 1 year ago)
- Topics: abandoned, vcs, vim
- Language: Python
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# This project is effectively abandoned
It had a bunch of issues with state getting a bit messed up, and I can't really
be bothered maintaining it. I don't use mercurial anymore, so I can use
airblade/vim-gitgutter and move on.
# differ
Yet another gitgutter style plugin for Vim, but with Neovim support.
This plugin shows a git/hg diff in Vim's sign column. There are a bunch of
plugins that support this, but according to my research mine is the first one
to utilise Neovim's job control for running it asynchronously.
This is great, because it means if you have a huge repo and you're using a slow
vcs (e.g. hg), saving isn't going to block Vim for 1000ms+. As you might have
guessed, I'm speaking from experience.
It also still has support for Vim, it'll just have Vim's problems (no job
control support).
It currently supports git and mercurial. Adding support for any other VCS is
trivial, as long as it can produce a unified diff.
# Using it
Put this in your .vimrc:
autocmd! BufWritePost * call Differ()
autocmd! BufReadPost * call Differ()
Or just call Differ() manually, e.g. `:call Differ()`.