瀏覽代碼

Update git editor

Andrew Swistak 9 年之前
父節點
當前提交
e4f7a46186
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      gitconfig

+ 3 - 3
gitconfig

@@ -12,9 +12,7 @@
 [mergetool]
   prompt = false
 [core]
-  editor = vim -f
-[mergetool]
-  prompt = false
+  editor = vim
 [alias]
   lol = log --oneline
   c = commit
@@ -25,6 +23,8 @@
   ca = commit -a
   d = diff
   ch = checkout
+[mergetool "vimdiff"]
+  cmd = nvim -d
 [diff]
   tool = vimdiff
 [color]