From 2c3ee9c15838126db44e3ad937c4caa8ffa8bbd8 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Sat, 8 Aug 2020 13:15:17 +0100 Subject: [PATCH] vim: update bindings to use new fugitive commands All the other ones have been deprecated a while ago. --- vim/vimrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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! -- 2.48.1