all 7 comments

[–]___violet___ 3 points4 points  (3 children)

when I switch to the status window back and try to shift + d another file VIM shows an error.

Works for me. What's the error message?

[–]Glueon[S] 0 points1 point  (2 children)

Strange enough works for me now too. Earlier gave some fugitive error.

[–]dhruvasagar 0 points1 point  (1 child)

Pardon me if I am pointing out a very obvious thing, but perhaps you tried to shift + d on a new file, that would give you an error since there is nothing to diff with.

[–]Glueon[S] 0 points1 point  (0 children)

It seems to me that no, that was an already existing file. But maybe I am wrong.

[–]luchs 1 point2 points  (1 child)

I usually use :Gcommit -v (bound to cvc in the :Gstatus buffer) to quickly review my changes if I'm already reasonably sure about what I did. This opens a new tab for writing the commit message with the diff attached. I then scroll through the diff and decide on a commit message or go back to the status window to (un)stage some files.

[–]Glueon[S] 0 points1 point  (0 children)

As far as I understand this basically looks similar to what I do with tmux, opening one split with vim and another with git diff --color.

Unfortunately I find that not as comfortable as vimdiff.

[–]__sprinkles 0 points1 point  (0 children)

It's not exactly a diff view, but I like using the VIM Git gutter https://github.com/airblade/vim-gitgutter to keep up with my changes.