X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=vim%2Fvimrc;h=ad8cca5ee73771a0a9a22e51eb81bbf5eed42874;hb=93ae909ee31566dd8e7b10f55469b7b7bbbfc953;hp=a670f8625513ff8625a5c62e2e51dfce9bf11e17;hpb=8c7d313b53645a5550263089dbc45e0878f60f47;p=smckown%2Fdotfiles.git diff --git a/vim/vimrc b/vim/vimrc index a670f86..ad8cca5 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -210,6 +210,18 @@ if has("autocmd") \ endif endif +" Fugitive shortcuts +nnoremap gs :Gstatus +nnoremap gd :Gdiff +nnoremap gc :Gcommit +nnoremap gb :Gblame +nnoremap gl :Glog +nnoremap gp :Git push +nnoremap gr :Gread +nnoremap gw :Gwrite +"nnoremap ge :Gedit +nnoremap gi :Git add -p % + " EasyGrep " To ignore tags file, use system grep. let g:EasyGrepCommand=1