Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 217
jmarceli Avatar asked Apr 30 '16 10:04

jmarceli


1 Answers

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.)

like image 170
Alexander Batischev Avatar answered Sep 28 '22 02:09

Alexander Batischev