delta - A syntax-highlighting pager for git

delta adds syntax highlighting and a nice formatting to the output of git, diff and grep.


As a syntax highlighting "processor", delta has a long list of useful features. The formatting of the diffs is very pleasant, simultaneously showing line and word diffs. Moreover, the language syntax highlighting can use different themes, with customizable styles.

It supports line numbering and side-by-side views with line-wrapping.

In large diffs involving multiple files, keybindings allow to move between files. Moreover, commit hashes and file paths can be formatted as terminal hyperlinks to the online repository host, such as GitHub/GitLab/Bitbucket.

The program is straightforward to install, and the basic configuration of git for using delta is just one command.


References