15 lines
897 B
Plaintext
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> |