use intellij as git mergetool

This commit is contained in:
Salar Rahmanian 2025-01-26 21:13:14 -08:00
parent 407adf52c0
commit 365ed3db6b

View file

@ -20,11 +20,12 @@ let
}; };
fetch.prune = true; fetch.prune = true;
init.defaultBranch = "main"; init.defaultBranch = "main";
merge.conflictstyle = "zdiff3"; merge.tool = "intellij";
merge.tool = "nvim"; mergetool = {
mergetool.nvim = { intellij = {
cmd = "nvim -d -c \"wincmd l\" -c \"norm ]c\" \"$LOCAL\" \"$MERGED\" \"$REMOTE\""; cmd = "'/Applications/IntelliJ IDEA.app/Contents/macOS/idea' merge \“$LOCAL\” \“$REMOTE\” \“$BASE\” \“$MERGED\”";
prompt = false; trustExitCode = true;
};
keepBackup = false; keepBackup = false;
}; };
pager = { pager = {