Search code examples
vimvim-fugitive

Vim fugitive back from :Glog


I'm look for vim command which will exit from Glog'ed file view back to the normal (original) file.

EXAMPLE:

Let say I'm viewing a file with vim.

After entering :Glog I'm able to browse through all git versions of this file.

I'm looking for command (or something) which let's me go back to viewing current file version so I can modify and save this file.

Is it possible?


Solution

  • Quoting the README:

    When you're done, use :Gedit in the historic buffer to go back to the work tree version.

    (It's mentioned in relation to :Gblame, but :Gedit works with :Glog too—I checked.)