Skip to content

Instantly share code, notes, and snippets.

@artanikin
Forked from huytd/.gitconfig
Created December 26, 2018 07:55
Show Gist options
  • Save artanikin/05725471a3c5580ee8d95275c5ec1b27 to your computer and use it in GitHub Desktop.
Save artanikin/05725471a3c5580ee8d95275c5ec1b27 to your computer and use it in GitHub Desktop.
Use neovim as diff tool
[merge]
tool = vimdiff
[mergetool]
prompt = true
[mergetool "vimdiff"]
cmd = nvim -d $LOCAL $REMOTE $MERGED -c '$wincmd w' -c 'wincmd J'
[difftool]
prompt = false
[diff]
tool = vimdiff
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment