diff options
-rw-r--r-- | bundle/git-blamer/autoload/git_blamer.vim | 4 | ||||
-rw-r--r-- | 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('%')) @@ -655,9 +655,6 @@ cnoremap <Esc>f <S-Right> " Read from OS X pasteboard for faster pasting nnoremap <leader>p :read !pbpaste<cr> -" 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 <leader>gb :GitBlamer<cr> |