How do you cancel an external git diff?
Use :cquit to exit vim with an error code. Git will detect the error and stop opening new vimdiffs. You’ll probably want to create a mapping for it in your .vimrc: if &diff map Q :cquit<CR> endif Then just hit Q to early abort from a git diff run. In order for this to work … Read more