From: Samir Benmendil Date: Sat, 8 Aug 2020 12:15:17 +0000 (+0100) Subject: vim: update bindings to use new fugitive commands X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/2c3ee9c15838126db44e3ad937c4caa8ffa8bbd8?ds=sidebyside vim: update bindings to use new fugitive commands All the other ones have been deprecated a while ago. --- diff --git a/vim/vimrc b/vim/vimrc index c8829a3..211a64b 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -557,11 +557,11 @@ 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 :Gcommit -v +nnoremap gs :Git +nnoremap gd :Gdiffsplit +nnoremap gc :G commit -v nnoremap ga :Gwrite -nnoremap gb :Gblame +nnoremap gb :G blame augroup fugitive_gstatus au!