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 ++++ vimrc | 3 --- 2 files changed, 4 insertions(+), 3 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('%')) diff --git a/vimrc b/vimrc index 883a36a..b587443 100644 --- a/vimrc +++ b/vimrc @@ -655,9 +655,6 @@ cnoremap f " Read from OS X pasteboard for faster pasting nnoremap p :read !pbpaste -" 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 nnoremap gb :GitBlamer -- cgit v1.2.3