diff options
author | Dan Davison <dandavison7@gmail.com> | 2021-05-26 09:30:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-26 09:30:22 -0400 |
commit | 974204f897f06e8b87566cf25f6866096573c959 (patch) | |
tree | 561453006b0ce7691995524e8dd7786d30fde0dd | |
parent | ebe08f9a6d7156e6e1f4504f38f4652426fdb50e (diff) |
Recommend setting delta as the pager for specific git commands (#610)
-rw-r--r-- | README.md | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -55,8 +55,11 @@ The most convenient way to configure delta is with a `[delta]` section in `~/.gi <sub> ```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" |