[ADD][VIM] Git file log mapping
<Leader>gl will open a new tab containing the history of the current buffer in a location list as a series of git object.
This commit is contained in:
parent
525502165f
commit
376598a9a5
|
@ -255,6 +255,8 @@ nnoremap <Leader>ga :Git add %:p<CR><CR>
|
|||
nnoremap <Leader>gs :Gstatus<CR>
|
||||
" Open diff view of current buffer: the up/left window is the current index
|
||||
nnoremap <Leader>gd :Gdiffsplit!<CR>
|
||||
" Open current file log in new tab, populate its location list with history
|
||||
nnoremap <Leader>gl :sp<CR><C-w>T:Gllog --follow -- %:p<CR>
|
||||
" Use git-mv and rename the buffer, backspace and add '!' to use the '-f' flag
|
||||
nnoremap <Leader>gm :Gmove<Space>
|
||||
" Open a buffer to the left with blame information
|
||||
|
|
Loading…
Reference in a new issue