summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-01-09 18:29:46 +0000
committerGitHub <noreply@github.com>2020-01-09 18:29:46 +0000
commite00ecda778e6a6f51e1ec1a2b1fc64bad848210f (patch)
tree651656d1a1ff29c7d8d23ff6ae04e8f4c57bb4d4
parent13e39b1de9ef0a8324b882fade04eeff65241f40 (diff)
parent91a61e3f0b1dfd332ad4d2107f9e99c77db93bb3 (diff)
Merge pull request #81 from Psycojoker/patch-1
[README] document mercurial configuration
-rw-r--r--README.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/README.md b/README.md
index 36fbb418..8171d83d 100644
--- a/README.md
+++ b/README.md
@@ -43,6 +43,14 @@ Alternatively, you can edit your `.gitconfig` directly. Delta accepts many comma
pager = delta --dark --plus-color="#012800" --minus-color="#340001" --theme="base16-ocean.dark"
```
+#### Configure mercurial to use delta
+
+Edit your `.hgrc` as follow and set the options you want for delta in it:
+```
+[pager]
+pager = delta --dark
+```
+
#### Windows
`less.exe` installed with git doesn't work well with `delta`. A patched version of `less.exe` and instructions for installing can be found [here](https://github.com/lzybkr/less/releases/tag/fix_windows_vt).