feat(git): add configuration for git difftool
This commit is contained in:
parent
0a9d0a4ca0
commit
2e7b5c5fa3
@ -2,6 +2,16 @@
|
||||
name = ${GIT_NAME}
|
||||
email = ${GIT_EMAIL}
|
||||
|
||||
[diff]
|
||||
tool = nvimdiff
|
||||
|
||||
[difftool]
|
||||
prompt = false # don’t ask “launch nvim?” each time
|
||||
|
||||
[difftool "nvimdiff"]
|
||||
cmd = nvim -d "$LOCAL" "$REMOTE"
|
||||
trustExitCode = true
|
||||
|
||||
[alias]
|
||||
co = checkout
|
||||
st = status
|
||||
|
Loading…
x
Reference in New Issue
Block a user