From f52e9095d0f4be418f15da93785aa7052dc76160 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 23 Jul 2015 03:10:14 -0400 Subject: vimrc: Move comment to git-blamer plugin Made more sense to move it there since all the functionality is now being performed in the plugin instead of in my vimrc. --- bundle/git-blamer/autoload/git_blamer.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bundle/git-blamer/autoload/git_blamer.vim') diff --git a/bundle/git-blamer/autoload/git_blamer.vim b/bundle/git-blamer/autoload/git_blamer.vim index cd6d83f..17de84a 100644 --- a/bundle/git-blamer/autoload/git_blamer.vim +++ b/bundle/git-blamer/autoload/git_blamer.vim @@ -1,3 +1,7 @@ +" Open a new split with a `git blame` of the current file +" Inspired by Ben Orenstein +" https://github.com/r00k/dotfiles/blob/7874508b825fd754e4ec3259da65f324ab96c8ea/vimrc#L74 + function! git_blamer#Blame() let l:line_number = line('.') let l:buffer_name = shellescape(bufname('%')) -- cgit v1.2.3