Skip to content

Commit e8b7042

Browse files
committed
Instructions on using with less
1 parent a88bb6f commit e8b7042

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@ fancydiff setup [--local] [--aliases]
6363
More details [here](doc/git-configuration.md) about how the Git configuration is modified
6464
to enable Fancydiff.
6565

66+
## Using with `less`, independent of Git
67+
68+
Add the following line to one of your shell initialization scripts:
69+
70+
```
71+
export LESSOPEN="|fancydiff file %s -e"
72+
```
73+
6674
## Limitations
6775

6876
* Too few source code languages are supported (currently: C/C++, Haskell,

0 commit comments

Comments
 (0)