summaryrefslogtreecommitdiff
path: root/.gitconfig
diff options
context:
space:
mode:
Diffstat (limited to '.gitconfig')
-rw-r--r--.gitconfig5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitconfig b/.gitconfig
index 92ff9cf..bb20980 100644
--- a/.gitconfig
+++ b/.gitconfig
@@ -10,7 +10,10 @@
[difftool]
prompt = false
[difftool "nvimdiff"]
- cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
+ cmd = "nvim -Rd \"$LOCAL\" \"$REMOTE\""
+
+[alias]
+ ndiff = "!nvim -Rc 'DiffviewOpen'"
[core]
excludesfile = ~/.config/git/ignore