It’s incredibly easy to use: powerful yet simple to navigate. After installing, simply open the commit history with
:Flog. What you’ll see is a visual representation of the commit history and branches, similar to using the
--graph option on
From here, there are a number of useful commands and options. I found gm to be useful for navigating a linear history because it hides merge comments. To see all options, use
g?. To open a commit to see its commit message and diff, just hit enter on them,
<CR>. From there, you can toggle through to the next and previous with
All in all, Flog is a very useful plugin and one I will add to my daily arsenal.
With your feedback, we can improve VimTricks. Click a link to vote: