Article 6KKC7 Bad vimdiff bad colours or bad terminal choices for them?

Bad vimdiff bad colours or bad terminal choices for them?

by
dedec0
from LinuxQuestions.org on (#6KKC7)
Hello, people. Today, I am willing to fix a fairly old issue I have seen with a fair frequency.

For the vast majority of things, I always use vim in a terminal, to create or edit whatever text file I want to play with.

And in a few times, playing with development, I use vimdiff in a terminal too. But the way it shows a few kinds of differences are very hard to be readed! I know there is a difference there, but I cannot really read the actual text in this part.

(it seems that linuxquestions attachment feature is broken, at this moment; I cannot attach my image because "a security token is missing", when I try to upload it; I have already contacted LQ about it, as the error asks us to do; while editing the post, advanced more, it should be possible to add attachments too, but the same error happened)

The terminal colours being used are the default Mate Terminal ones. But when vimdiff shows lines that are only partially changed in both files, it uses a light red background colours, and pink text in them - and this is the hardest thing to read! What I always used to "circumvent" the problem is selecting the lines I want to read, one at a time, so the colours are changed to something better to our eyes.

What do you suggest to change here? Vim settings for diffs? Or the terminal colour set? (and this second one may imply in changes that, maybe, go against what other command line programs expect from what these colours should be, which I do not know if there is something)
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments