A git commit browser.
gitv is nice. But I needed a faster, and possibly simpler alternative that I can use with a project with thousands of commits.
Requires fugitive.
Using vim-plug:
Plug 'tpope/vim-fugitive'
Plug 'junegunn/gv.vim':GVto open commit browser:GV!will only list commits for the current file
:GVover visual range will list commits for the lines
You can pass git log options to the command, e.g. :GV -S foobar.
oor<cr>on a commit to display the content of itoor<cr>on commits to display the diff in the rangeOopens a new tab insteadgbfor:Gbrowse]]and[[to move between commits.to start command-line with:Git [CURSOR] SHAà la fugitiveqto close
¯\_(ツ)_/¯