vim:keys: Map <leader>gb to git blame

This commit is contained in:
2022-08-27 17:53:18 +02:00
parent ede49ac9f7
commit b56eaa0eb2

View File

@@ -107,6 +107,9 @@ if exists('g:loaded_fugitive')
nmap <leader>gc :G commit<CR>
" Move to root of directory
nmap <leader>gcd :Gcd<CR>
" git blame in scroll bound vertical split (only the commit hashes, see
" :help :Git_blame)
nmap <leader>gb :G blame<CR>C
else
" Move to root of directory
" NOTE: only works if a file is already opened