emacs/var/elfeed/db/data/1c/1c564d0fc573a5e9e9a6eb6bcfd31e553ad1b7c0
2022-01-03 12:49:32 -06:00

15 lines
897 B
Plaintext

<p>I was just introduced to a <a href="https://github.com/dandavison/delta">tool called
Delta</a> which is a pager you can
use with Git to give you Github-esque diffs.</p>
<p><img alt="Magit and Delta" src="https://philjackson.github.io/assets/img/magit-delta.png" /></p>
<p>Tiny bit of elisp to configure:</p>
<div class="language-elisp highlighter-rouge"><div class="highlight"><pre class="syntax"><code><span class="p">(</span><span class="nb">use-package</span> <span class="nv">magit-delta</span>
<span class="ss">:ensure</span> <span class="no">t</span>
<span class="ss">:hook</span> <span class="p">(</span><span class="nv">magit-mode</span> <span class="o">.</span> <span class="nv">magit-delta-mode</span><span class="p">))</span>
</code></pre></div></div>
<p>Delta itself is incredibly configurable and from the command line has
some nice features such as side-by-side diffs.</p>