How to use Vim to quickly see Mercurial or Git changes

Edit 2020-01-23: Searched quickly and FYI saw that there’s another plugin that seems more VCS agnostic: https://github.com/mhinz/vim-signify


There’s a new plugin that does this: vim-gitgutter. It puts the changes in the Vim gutter whenever you save the file. Here’s what it looks like in action:

enter image description here

Leave a Comment