How to change the background color of diffs in Vim?

922 Views Asked by At

My current background color does not show some diffs properly

appearance

1

There are 1 best solutions below

0
jibing On

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

if &diff
    colorscheme some_other_scheme
endif

enter image description here