4 ms·
This is a neat one-liner if you don't want to install vim-fugitive on a temporary machine just for 'Gvdiff': set diff crb | vnew | exec "r !git show HEAD:#" | s
by gsuuon 3y ago
This is a neat one-liner if you don't want to install vim-fugitive on a temporary machine just for 'Gvdiff': set diff crb | vnew | exec "r !git show HEAD:#" | set diff crb
Shows git diff with head - modify git show command to taste.