diff --git a/vim/.vimrc b/vim/.vimrc index e3c4b8b..784c858 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -255,6 +255,8 @@ nnoremap ga :Git add %:p nnoremap gs :Gstatus " Open diff view of current buffer: the up/left window is the current index nnoremap gd :Gdiffsplit! +" Open current file log in new tab, populate its location list with history +nnoremap gl :spT:Gllog --follow -- %:p " Use git-mv and rename the buffer, backspace and add '!' to use the '-f' flag nnoremap gm :Gmove " Open a buffer to the left with blame information