From: R. Steve McKown Date: Tue, 9 Jun 2015 22:43:34 +0000 (-0600) Subject: Add shortcuts for fugitive plugin commands X-Git-Url: https://oss.titaniummirror.com/gitweb?p=smckown%2Fdotfiles.git;a=commitdiff_plain;h=93ae909ee31566dd8e7b10f55469b7b7bbbfc953 Add shortcuts for fugitive plugin commands For example: gs for :Git Status --- 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