summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-08-03 22:12:07 -0400
committerDan Davison <dandavison7@gmail.com>2020-08-03 22:12:07 -0400
commit648f676dc791660409bda5888049ec0c5dcd8007 (patch)
treeca32df801dd451b6ead6b0aabea7830e4302689e /README.md
parent49400c7cc446fce4e6295d4b2f8cf1b1073047e3 (diff)
Edit README
Diffstat (limited to 'README.md')
-rw-r--r--README.md28
1 files changed, 14 insertions, 14 deletions
diff --git a/README.md b/README.md
index 67e3ac04..2ffd144d 100644
--- a/README.md
+++ b/README.md
@@ -73,7 +73,6 @@ Contents
* [Installation](#installation)
* [Configuration](#configuration)
* [Usage](#usage)
- * [Supported languages and themes](#supported-languages-and-themes)
* [Choosing colors (styles)](#choosing-colors-styles)
* [Line numbers](#line-numbers)
* [Side-by-side view](#side-by-side-view)
@@ -85,6 +84,7 @@ Contents
* [Using Delta on Windows](#using-delta-on-windows)
* [Mouse scrolling](#mouse-scrolling)
* [Using Delta with Magit](#using-delta-with-magit)
+ * [Supported languages and themes](#supported-languages-and-themes)
* [Comparisons with other tools](#comparisons-with-other-tools)
* [Build delta from source](#build-delta-from-source)
* [Related projects](#related-projects)
@@ -243,7 +243,7 @@ Alternatively, delta is available in the following package managers:
## Configuration
-Set delta to be git's pager in your `.gitconfig`. Delta accepts many command line options to alter colors and other details of the output. An example is
+Set delta to be git's pager in your `.gitconfig`. Delta has many options to alter colors and other details of the output. An example is
```gitconfig
[core]
pager = delta
@@ -279,18 +279,6 @@ diff -u a.txt b.txt | delta
## Usage
-### Supported languages and themes
-To list the supported languages and color themes, use `delta --list-languages` and `delta --list-syntax-themes`. To see a demo of the color themes, use `delta --show-syntax-themes`:
-
-To add your own custom color theme, or language, please follow the instructions in the Customization section of the [bat documentation](https://github.com/sharkdp/bat/#customization):
-- [Adding a custom language](https://github.com/sharkdp/bat/#adding-new-syntaxes--language-definitions)
-- [Adding a custom theme](https://github.com/sharkdp/bat/#adding-new-themes)
-
-Delta automatically recognizes custom themes and languages added to bat. You will need to install bat in order to run the `bat cache --build` command.
-
-The languages and color themes that ship with delta are those that ship with bat. So, to propose a new language or color theme for inclusion in delta, it would need to be a helpful addition to bat, in which case please open a PR against bat.
-
-
### Choosing colors (styles)
All options that have a name like `--*-style` work in the same way. It is very similar to how
@@ -440,6 +428,18 @@ Delta can be used when displaying diffs in the Magit git client: see [magit-delt
<table><tr><td><img width=500px src="https://user-images.githubusercontent.com/52205/79934267-2acb2e00-8420-11ea-8bc4-546508fd3581.png" alt="image" /></td></tr></table>
+### Supported languages and themes
+To list the supported languages and color themes, use `delta --list-languages` and `delta --list-syntax-themes`. To see a demo of the color themes, use `delta --show-syntax-themes`:
+
+To add your own custom color theme, or language, please follow the instructions in the Customization section of the [bat documentation](https://github.com/sharkdp/bat/#customization):
+- [Adding a custom language](https://github.com/sharkdp/bat/#adding-new-syntaxes--language-definitions)
+- [Adding a custom theme](https://github.com/sharkdp/bat/#adding-new-themes)
+
+Delta automatically recognizes custom themes and languages added to bat. You will need to install bat in order to run the `bat cache --build` command.
+
+The languages and color themes that ship with delta are those that ship with bat. So, to propose a new language or color theme for inclusion in delta, it would need to be a helpful addition to bat, in which case please open a PR against bat.
+
+
## Comparisons with other tools
(`delta --light`)