dot/lesskey: Use `-r' instead of `-R'.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 2 Aug 2019 19:30:44 +0000 (20:30 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sat, 3 Aug 2019 02:14:21 +0000 (03:14 +0100)
This seems to handle some kinds of colourized output better.  In
particular, GNU `diff' gets mangled by `less -R': only the first line in
a coloured group ends up actually being coloured.  On the other hand,
`less -r' copes with this properly, maybe because it's actually looking
at the control codes rather than feeding them through without thinking
and then accidentally clobbering their effects.

I don't know why my `less' settings have used `-R', but they have for as
long as I've maintained my profile in Git.  Oh, well.

dot/lesskey

index 3c96230..42ef238 100644 (file)
@@ -9,5 +9,5 @@
 #line-edit
 
 #env
-LESS = -iqgRh1j.3FSX
+LESS = -iqgrh1j.3FSX
 LESSOPEN = |lesspipe.sh %s