An open API service indexing awesome lists of open source software.

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

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()`.