From 93ae909ee31566dd8e7b10f55469b7b7bbbfc953 Mon Sep 17 00:00:00 2001 From: "R. Steve McKown" Date: Tue, 9 Jun 2015 16:43:34 -0600 Subject: [PATCH] Add shortcuts for fugitive plugin commands For example: gs for :Git Status --- vim/vimrc | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- 2.39.2