diff options
| -rw-r--r-- | files/.config/lazygit/config.yml | 5 | ||||
| -rw-r--r-- | files/.eget.toml | 5 | ||||
| -rw-r--r-- | files/.gitconfig | 13 |
3 files changed, 14 insertions, 9 deletions
diff --git a/files/.config/lazygit/config.yml b/files/.config/lazygit/config.yml index 59c35e4..f248b4f 100644 --- a/files/.config/lazygit/config.yml +++ b/files/.config/lazygit/config.yml @@ -8,9 +8,8 @@ gui: frames: ['⠋', '⠙', '⠹', '⠸', '⠼', '⠴', '⠦', '⠧', '⠇', '⠏'] rate: 100 git: - paging: - colorArg: always - pager: diff-so-fancy + pagers: + - pager: delta --paging=never --hyperlinks-file-link-format="lazygit-edit://{path}:{line}" # Do not spawn a separate process when using GPG # https://github.com/jesseduffield/lazygit/discussions/3605#discussioncomment-9567079 overrideGpg: true diff --git a/files/.eget.toml b/files/.eget.toml index f56b6e9..140700b 100644 --- a/files/.eget.toml +++ b/files/.eget.toml @@ -17,5 +17,6 @@ target = "~/.local/bin/nnn" ["mvdan/sh"] target = "~/.local/bin/shfmt" -# Good-lookin' diffs. Actually… nah… The best-lookin' diffs. 🎉 -["so-fancy/diff-so-fancy"] +# A syntax-highlighting pager for git, diff, grep, and blame output +["dandavison/delta"] +asset_filters = [ "linux-gnu.tar.gz" ] diff --git a/files/.gitconfig b/files/.gitconfig index d89fa3d..12ae541 100644 --- a/files/.gitconfig +++ b/files/.gitconfig @@ -26,9 +26,14 @@ colorMoved = true submodule = log mnemonicprefix = true -[diff-so-fancy] - stripLeadingSymbols = false - markEmptyLines = false +[delta] + light = true + syntax-theme = Solarized (light) + navigate = true + file-decoration-style = ol ul + hyperlinks = true +[interactive] + diffFilter = delta --color-only [grep] lineNumber = true [merge] @@ -36,7 +41,7 @@ stat = true tool = vimdiff [core] - pager = diff-so-fancy | less -+$LESS -FRX + pager = delta excludesfile = ~/.gitignore quotepath = false attributesfile = ~/.gitattributes |
