vim: add GL shortcut to show git log for function under cursor

pull/6/head
bretello 2022-03-31 19:30:31 +02:00
parent f88413ddf8
commit 5393f33795
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 1 additions and 0 deletions

View File

@ -155,6 +155,7 @@ vnoremap <silent> <leader>gs :call GitShowVisual()<CR>
vnoremap <silent> <leader>r :call VisualSelection('replace', '')<CR>
nnoremap K :exe "Rg " . expand("<cword>")<cr>
nnoremap GL :exe "Git log -L:" . expand("<cword>") . ":" . expand("%")<cr>
autocmd FileType python nnoremap T :Pytest function --pdb<CR>
" Ultisnips