jibing
jibing

Reputation: 41

How to change the background color of diffs in Vim?

My current background color does not show some diffs properly

appearance

Upvotes: 0

Views: 1171

Answers (1)

jibing
jibing

Reputation: 41

If use vimdiff from command-line, modify your .vimrc in your ~/.vimrc path.

if &diff
    colorscheme some_other_scheme
endif

enter image description here

Upvotes: 2

Related Questions