mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-22 03:21:30 +01:00
vim: add GL shortcut to show git log for function under cursor
This commit is contained in:
parent
f88413ddf8
commit
5393f33795
|
@ -155,6 +155,7 @@ vnoremap <silent> <leader>gs :call GitShowVisual()<CR>
|
||||||
vnoremap <silent> <leader>r :call VisualSelection('replace', '')<CR>
|
vnoremap <silent> <leader>r :call VisualSelection('replace', '')<CR>
|
||||||
|
|
||||||
nnoremap K :exe "Rg " . expand("<cword>")<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>
|
autocmd FileType python nnoremap T :Pytest function --pdb<CR>
|
||||||
|
|
||||||
" Ultisnips
|
" Ultisnips
|
||||||
|
|
Loading…
Reference in New Issue
Block a user