4

I'd like to be able to see which lines in my file have been edited relative to the current git head, is there any way I can do this?

In particular, I'd like to be able to tell if a line was added or modified as I would by looking at the git diff.

4

gitgutter and signify are two plugins I know of which provide this sort of functionality. When a buffer is saved, the sign column is updated to show where lines have been added/modified/deleted.

gitgutter is Git specific, while signify supports multiple version control systems.

N.B., I'm a collaborator on signify.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.