forked from mirrors/jj
docs: Add information about configuring delta pager
docs: Add information about configuring delta pager docs: only mention pager, not diff
This commit is contained in:
parent
af95c788af
commit
e54e83b0f5
1 changed files with 12 additions and 0 deletions
|
@ -386,6 +386,18 @@ command will be executed directly. For example:
|
|||
ui.pager = ["sh", "-c", "diff-so-fancy | less -RFX"]
|
||||
```
|
||||
|
||||
Some formatters (like [`delta`](https://github.com/dandavison/delta)) require
|
||||
git style diffs for formatting. You can configure this style of
|
||||
diff as the default with the `ui.diff` setting. For example:
|
||||
|
||||
```toml
|
||||
[ui]
|
||||
pager = "delta"
|
||||
|
||||
[ui.diff]
|
||||
format = "git"
|
||||
```
|
||||
|
||||
## Aliases
|
||||
|
||||
You can define aliases for commands, including their arguments. For example:
|
||||
|
|
Loading…
Reference in a new issue