From e2a098ce824f320609f0b33a9a0138fe779ec164 Mon Sep 17 00:00:00 2001 From: Benedikt Heine Date: Mon, 19 Jan 2026 09:20:13 +0100 Subject: [PATCH] nvim: use it in git as default editor --- git/gitconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/git/gitconfig b/git/gitconfig index 735bded..0df469a 100644 --- a/git/gitconfig +++ b/git/gitconfig @@ -8,10 +8,10 @@ email = account@buehler.rocks [merge] defaultToUpstream = true - tool = vimdiff + tool = nvim -d conflictstyle = zdiff3 [core] - editor = vim + editor = nvim eol = native pager = delta || (diff-so-fancy | less --tabs=4 -RFX) quotepath = false @@ -46,8 +46,8 @@ fetch = +refs/pull/*/head:refs/remotes/upstream/pull/* fetch = +refs/merge-requests/*/head:refs/remotes/upstream/merge-requests/* [diff] - tool = vimdiff - colorMoved = plain + tool = nvim -d + colorMoved = default algorithm = histogram mnemonicPrefix = true renames = true