0

My current background color does not show some diffs properly

appearance

Jorengarenar
  • 2,705
  • 5
  • 23
  • 60
jibing
  • 41
  • 4
  • 1
    https://stackoverflow.com/a/4757916/7976758 Found in https://stackoverflow.com/search?q=%5Bvimdiff%5D+colors – phd Sep 08 '21 at 12:12
  • If you want to see what color schemes are available, type `:colorscheme ` and vim will show you a list. I often settle for `:colorscheme delek` for vimdiffs. I really should set it so in my `.vimrc` instead of manually changing it every time... – joanis Sep 18 '21 at 05:43

1 Answers1

2

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

if &diff
    colorscheme some_other_scheme
endif

enter image description here

jibing
  • 41
  • 4