diff --git a/.vimrc b/.vimrc index ed050e4..6f1c8b5 100644 --- a/.vimrc +++ b/.vimrc @@ -118,6 +118,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 + + " Enables input of special characters by a combination of two characters. " Example: Type 'a', erase it by typing CTRL-H - and then type ':' - this " results in the umlaut: รค So Vim remembers the character you have erased and