tpope/vim-fugitive — Issue #142: :Gedit doesn't work from some buffers
Author: phmarek
Created: 2012-01-13 09:16:49+00:00
State: open

When I open a file from a git repository, eg. "Ge ^" works as expected.

But if I get a new buffer with "Gitv", pressing on a line says
E492: Not an editor command Gedit ad61e12
I tried changing Gitv to use ":Gedit", but that doesn't help either.

In this Gitv buffer neither "Gedit rev" nor "Ge rev" works - I get a new buffer, named like "fugitive://.../.git//revision", but it's empty.

If I do a ":bw" of the empty buffer, go to the source file opened directly, and repeat the same "Ge rev" command, I get the expected output - "tree", "author", the diff, etc.

Why does Gedit work from some buffers but not from others?

Thank you.