aboutsummaryrefslogtreecommitdiffstats
path: root/bundle
diff options
context:
space:
mode:
authorTeddy Wing2015-07-23 03:10:14 -0400
committerTeddy Wing2015-07-23 03:10:14 -0400
commitf52e9095d0f4be418f15da93785aa7052dc76160 (patch)
tree643bb83bf47315609ac404cfeadd8ea65cdb4270 /bundle
parent2157680c7fd1aebd4aeae2ba102c30ec0349a574 (diff)
downloaddotvim-f52e9095d0f4be418f15da93785aa7052dc76160.tar.bz2
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.
Diffstat (limited to 'bundle')
-rw-r--r--bundle/git-blamer/autoload/git_blamer.vim4
1 files changed, 4 insertions, 0 deletions
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('%'))