feat(gitconfig): nvdimdiff > vimdiff
This commit is contained in:
parent
b7d0087156
commit
2cc7a82586
1 changed files with 11 additions and 1 deletions
|
|
@ -13,7 +13,9 @@
|
|||
helper = cache --timeout=604800
|
||||
|
||||
[diff]
|
||||
tool = vimdiff
|
||||
tool = nvimdiff
|
||||
[difftool "nvimdiff"]
|
||||
cmd = "nvim -d \"$LOCAL\" \"$REMOTE\""
|
||||
|
||||
[http]
|
||||
postBuffer = 524288000
|
||||
|
|
@ -25,8 +27,16 @@
|
|||
[init]
|
||||
defaultBranch = main
|
||||
[merge]
|
||||
tool = "nvim"
|
||||
conflictstyle = diff3
|
||||
|
||||
[mergetool]
|
||||
keepBackup = false
|
||||
prompt = true
|
||||
|
||||
[mergetool "nvim"]
|
||||
cmd = "nvim -d -c \"wincmd l\" -c \"norm ]c\" \"$LOCAL\" \"$MERGED\" \"$REMOTE\""
|
||||
|
||||
# Set a correct user.name and user.email for work projects
|
||||
[includeIf "gitdir:~/git/work/"]
|
||||
path = ~/git/work/gitconfig
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue