diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-01-09 17:26:39 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-01-09 17:26:39 +0530 |
| commit | 00e0b6fb7fe7c1ef33df55cdb44e96fec06e006e (patch) | |
| tree | 1b3e5399bd1fd3fbbad284407f22b4671e384984 /modules/git.home.nix | |
| parent | ce166c24fc48e0f1913fddb175a571e0881f59c9 (diff) | |
| download | nixos-config-00e0b6fb7fe7c1ef33df55cdb44e96fec06e006e.tar.gz nixos-config-00e0b6fb7fe7c1ef33df55cdb44e96fec06e006e.zip | |
Add difftastic
Diffstat (limited to 'modules/git.home.nix')
| -rw-r--r-- | modules/git.home.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/git.home.nix b/modules/git.home.nix index 68094cc..df13d2c 100644 --- a/modules/git.home.nix +++ b/modules/git.home.nix @@ -54,6 +54,8 @@ ]; aliases = { ignore = "!gi() { curl -sL https://www.toptal.com/developers/gitignore/api/$@ ;}; gi"; + dshow = "-c diff.external='difft --display side-by-side-show-both' show --ext-diff"; + ddiff = "-c diff.external='difft --display side-by-side-show-both' diff"; }; delta = { enable = true; @@ -64,6 +66,12 @@ line-numbers = true; }; }; + # difftastic = { + # enable = true; + # display = "side-by-side"; + # color = "auto"; + # background = "dark"; + # }; extraConfig = { color = { ui = true; |
