From 03098ec5d9ac9c612f6697fb33caeef80eb45104 Mon Sep 17 00:00:00 2001 From: nicco Date: Mon, 21 Jul 2025 18:01:00 +0200 Subject: [PATCH] add delta for git --- files/git/gitconfig | 6 ++++++ home/pkgs.nix | 1 + 2 files changed, 7 insertions(+) diff --git a/files/git/gitconfig b/files/git/gitconfig index 26052ee..2303249 100644 --- a/files/git/gitconfig +++ b/files/git/gitconfig @@ -4,9 +4,12 @@ process = git-lfs filter-process required = true [core] + pager = delta excludesfile = ~/.gitignore_global autocrlf = input ignorecase=false +[interactive] + diffFilter = delta --color-only [pull] rebase = false @@ -27,3 +30,6 @@ [include] path = ~/.gitconfig.local + +[delta] + navigate = true diff --git a/home/pkgs.nix b/home/pkgs.nix index f7137c1..9f12457 100644 --- a/home/pkgs.nix +++ b/home/pkgs.nix @@ -20,6 +20,7 @@ with pkgs; woff2 rsync yq + delta # Rust utils bat