diff options
-rw-r--r-- | vimrc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -323,6 +323,7 @@ " " 2015.07.23: " * Add mapping to open a new split that `git blame`s the current file +" * Modify `git blame` mapping to open in less " @@ -656,7 +657,7 @@ 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 :vnew \| read !git blame <c-r>=expand('%:p')<cr><cr> \| redraw!<cr> +nnoremap <leader>gb :!git blame <c-r>=expand('%:p')<cr> \| less -S<cr> |