From: Samir Benmendil Date: Tue, 15 Jul 2014 23:21:20 +0000 (+0100) Subject: vim: add fugitive bindings X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/fb1fd4b942fdba6ffd8b278648d6d670b3f51bde vim: add fugitive bindings --- diff --git a/vim/vimrc b/vim/vimrc index c7397c4..fe3fb52 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -305,6 +305,10 @@ nmap dd :tab split \| Gdiff \| wincmd h " delete fugitive buffers when closed autocmd BufReadPost fugitive://* set bufhidden=delete +nnoremap gs :Gstatus +nnoremap gd :Gdiff +nnoremap gc :tab Gcommit -v + " NERDTree {{{2 " open/close NERDTree with \e nmap e :NERDTreeToggle