junegunn / gv.vim

A git commit browser in Vim
1.35k stars 54 forks source link

Refresh git log buffer with `r` #96

Open BertrandSim opened 3 years ago

BertrandSim commented 3 years ago

In a GV buffer, hit r to refresh the git log print out.

This achieves the same goal as (#53), but uses a different implementation.

In particular:

The third point enables s:refresh() to be used with multiple GV instances. In addition, other split windows (such as the diff window) are also preserved in the current tab.

BertrandSim commented 3 years ago

rebased on latest master

somini commented 3 years ago

I merged this with #48 on my fork (https://github.com/somini/gv.vim). This stores the command on the existing metadata dict at b:gv.