From 852580d07cfe4c5bc87e0334e0098404c6e192c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Fri, 1 Apr 2022 19:38:45 +0200 Subject: single generic git config --- home-dots/dot-gitconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 home-dots/dot-gitconfig (limited to 'home-dots') diff --git a/home-dots/dot-gitconfig b/home-dots/dot-gitconfig new file mode 100644 index 0000000..2103c49 --- /dev/null +++ b/home-dots/dot-gitconfig @@ -0,0 +1,20 @@ +[user] + name = Óscar Nájera + email = hi@oscarnajera.com +[pull] + rebase = true +[push] + default = simple + +[diff "gpg"] + textconv = gpg --no-tty --decrypt +[diff "pdf"] + textconv = pdfinfo +[diff "org"] + xfuncname = "^(\\*+ +.*)$" +[diff "lisp"] + xfuncname = "^[ \t]*(((;+ )|\\((cl-|el-patch-)?def(un|var|macro|method|custom|ine)).*)$" +[difftool "image_diff"] + cmd = compare $REMOTE $LOCAL png:- | montage -font Liberation-Sans -tile 3x -geometry 400x -label "reference" $LOCAL -label "diff" - -label "current--%f" $REMOTE x: +[diff] + algorithm = histogram -- cgit v1.2.3