From aa40311313ad1466890b62e7a49146c3fe90cfbb Mon Sep 17 00:00:00 2001 From: "Agatha V. Lovelace" Date: Thu, 9 Nov 2023 20:08:08 +0100 Subject: [PATCH] Add git delta --- common/home_manager/common.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/common/home_manager/common.nix b/common/home_manager/common.nix index 3642d83..91a77a9 100644 --- a/common/home_manager/common.nix +++ b/common/home_manager/common.nix @@ -43,6 +43,18 @@ rebase.autosquash = true; pull.rebase = true; }; + + delta = { + enable = true; + options = { + blame-format = "{timestamp:<15} {author:<18.18} {commit:<8}"; + file-modified-label = "modified:"; + hunk-header-decoration-style = "blue ul ol"; + line-numbers = true; + navigate = true; + navigate-regex = "^(commit|added:|removed:|renamed:|modified:)"; + }; + }; }; starship = {