From b89c75020e807b79d2d7c85ee9a5182cafea335f Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Tue, 2 Jan 2024 12:10:22 -0500 Subject: [PATCH] git: use nvim for mergetool --- src/.config/git/config | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/.config/git/config b/src/.config/git/config index 6b8d20a..0a89364 100644 --- a/src/.config/git/config +++ b/src/.config/git/config @@ -3,3 +3,7 @@ name = dogeystamp [gpg] program = passphrase2pgp +[merge] + tool = nvimmerge +[mergetool "nvimmerge"] + cmd = "nvim -d -c \"wincmd l\" -c \"norm ]c\" \"$LOCAL\" \"$MERGED\" \"$REMOTE\""