Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
dandavison committed Apr 26, 2020
1 parent a33ca36 commit 3bae044
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,19 @@

This Emacs package provides a minor mode which configures [Magit](https://github.com/magit/magit) to use [delta](https://github.com/dandavison/delta) when displaying diffs.

First, install [delta](https://github.com/dandavison/delta) (≥ 0.0.18), and use `M-x package-install` to install the Emacs package [xterm-color](https://github.com/atomontage/xterm-color). Then load `magit-delta.el` from this repo and use:
First, install [delta](https://github.com/dandavison/delta) (≥ 0.0.18).

Next, you need recent versions of both Magit and [xterm-color](https://github.com/atomontage/xterm-color):

```
M-x package-delete magit
M-x-package-install magit
M-x package-delete xterm-color
M-x-package-install xterm-color
```

Then load `magit-delta.el` from this repo and use:

```
M-x magit-delta-mode
Expand Down

0 comments on commit 3bae044

Please sign in to comment.