I\'m running git-diff on a file, but the change is at the end of a long line.
If I use cursor keys to move right, it loses colour-coding—and worse the lines do
list the current/default config:
$ git config --global core.pager less -FXRS -x2
then update and leave out the -S like:
$ git config --global core.pager 'less -FXR -x2'
the -S: Causes lines longer than the screen width to be chopped rather than folded.