diff --git a/.vimrc b/.vimrc index 831bff7..8639cae 100644 --- a/.vimrc +++ b/.vimrc @@ -160,8 +160,10 @@ map jt :%!json_xs -f json -t json-pretty " Fly through buffers instead of cycling nnoremap l :ls:b -"vmap g :!git blame =expand("%:p") \| sed -n =line("'<") ,=line("'>") p -"vmap h :!hg blame -fu =expand("%:p") \| sed -n =line("'<") ,=line("'>") p +" Git and Mercurial 'blame' command. First select lines in visual modes, then +" hit the appropriate leader key sequence (e.g., \g for git blame) +vmap g :!git blame =expand("%:p") \| sed -n =line("'<") ,=line("'>") p +vmap h :!hg blame -fu =expand("%:p") \| sed -n =line("'<") ,=line("'>") p " Enables input of special characters by a combination of two characters.