aboutsummaryrefslogtreecommitdiffstats
path: root/bundle/git-blamer/plugin
AgeCommit message (Collapse)Author
2015-07-23Add git-blamer pluginTeddy Wing
Create a plugin that runs a `git blame` and opens the result in a new vertical split. This one builds on a43d3caaea3682f58aee6dc295e48cca415067c5 but improves it by adding some extra niceties including moving to the line the cursor was on in the original file, setting appropriate flags so that the split doesn't appear in the buffer list and becomes non-modifiable, and setting cursor and scroll binding so that the buffers scroll together. An `autocmd` resets the original buffer to `noscrollbind` and `nocursorbind`.