Vim fugitive back from :Glog
Asked Answered
G

1

11

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?

Gayle answered 30/4, 2016 at 10:24 Comment(0)
W
15

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

Wrestling answered 30/4, 2016 at 14:45 Comment(1)
Nice. Thanks for the hint.Gayle

© 2022 - 2024 — McMap. All rights reserved.