Skip to content

Commit cf70ffe

Browse files
committed
Use nvimdiff as git mergetool
1 parent 99e20c8 commit cf70ffe

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

home/shell.nix

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ in
7979
insteadOf = "https://github.com/";
8080
};
8181
};
82+
merge.tool = "nvimdiff";
83+
mergetool = {
84+
nvimdiff.cmd = "nvim -d \$LOCAL \$REMOTE \$BASE \$MERGED";
85+
keepBackup = false;
86+
};
8287
};
8388

8489
aliases = {

0 commit comments

Comments
 (0)