Browse Source

git: pager=delta

Maxim Likhachev 6 years ago
parent
commit
9cae0e8121
  1. 4
      etc/soft/git/gitconfig

4
etc/soft/git/gitconfig

@ -3,7 +3,8 @@
email = envrm@yandex.ru email = envrm@yandex.ru
[core] [core]
pager = "less -R -X --ignore-case -w --jump-target=.5" #pager = "less -R -X --ignore-case -w --jump-target=.5"
pager = delta --light --theme="OneHalfLight" --commit-style=box --file-style=box
editor=nvim editor=nvim
excludesfile = ~/.shellrc/etc/soft/git/gitignore-global excludesfile = ~/.shellrc/etc/soft/git/gitignore-global
quotepath = false quotepath = false
@ -43,6 +44,7 @@
co = checkout co = checkout
ld = log --source --stat --date=iso --pretty=medium -p
lf = log --source --graph --stat --date=iso --pretty=medium --decorate=full lf = log --source --graph --stat --date=iso --pretty=medium --decorate=full
ls = log --graph --pretty=format:'%Cred%h%Creset - %Cgreen[%cd]%Creset ::%C(yellow)%d%Creset %s %C(bold blue)<%ae>%Creset' --abbrev-commit --date=short ls = log --graph --pretty=format:'%Cred%h%Creset - %Cgreen[%cd]%Creset ::%C(yellow)%d%Creset %s %C(bold blue)<%ae>%Creset' --abbrev-commit --date=short
ll = !git --no-pager log -1 HEAD && echo ll = !git --no-pager log -1 HEAD && echo

Loading…
Cancel
Save