Flog is a blazingly fast, stunningly beautiful, exceptionally powerful Git branch viewer for Vim/Neovim.
If you use Plug, add the following to your .vimrc
:
Plug 'tpope/vim-fugitive'
Plug 'rbong/vim-flog'
For lazy.nvim users:
{
"rbong/vim-flog",
lazy = true,
cmd = { "Flog", "Flogsplit", "Floggit" },
dependencies = {
"tpope/vim-fugitive",
},
},
In Vim, LuaJIT 2.1 must be installed. Lua 5.1 is also supported but less performant than LuaJIT.
:Flog
or :Flogsplit
.<Tab>
completion or :help :Flog
to see available arguments.<CR>
.<C-N>
and <C-P>
.a
.g?
.gq
.Many familiar mappings from the Fugitive :Git
status window will work in Flog.
You can also run any git command using :Floggit
.
This command will contextually complete arguments based on your cursor position.
See :help :Floggit
for more.
Flog can be heavily customized. See examples for details.
git log --help
in a terminal for help with git log
.:help flog
in Vim to see the full documentation.