By default, git diff
shows differences by lines. In terminal, we can use git diff --color-word
to show differences by words. This can be quite useful when we write in Rmarkdown. Because, at least for me, I write the whole paragraph in one line. If I change something of this paragraph, in the Git panel of RStudio, it will show the whole line without highlighting the words.
Is it possible to add an option to highlight words when look at diff in the Git panel? Or any other way to do this without typing the command in terminal?
Thanks.