From 974204f897f06e8b87566cf25f6866096573c959 Mon Sep 17 00:00:00 2001 From: Dan Davison Date: Wed, 26 May 2021 09:30:22 -0400 Subject: Recommend setting delta as the pager for specific git commands (#610) --- README.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index bda9f682..9ff487d4 100644 --- a/README.md +++ b/README.md @@ -55,8 +55,11 @@ The most convenient way to configure delta is with a `[delta]` section in `~/.gi ```gitconfig -[core] - pager = delta +[pager] + diff = delta + log = delta + reflog = delta + show = delta [interactive] diffFilter = delta --color-only @@ -278,13 +281,16 @@ Behind the scenes, delta uses `less` for paging. The version of `less` that come ## Configuration -#### Git config files +#### Git config file -Set delta to be git's pager in your `.gitconfig`. Delta has many options to alter colors and other details of the output; `delta --help` shows them all. An example is +Set delta to be the pager for git commands in your `.gitconfig`. Delta has many options to alter colors and other details of the output; `delta --help` shows them all. An example is ```gitconfig -[core] - pager = delta +[pager] + diff = delta + log = delta + reflog = delta + show = delta [delta] plus-style = "syntax #012800" -- cgit v1.2.3