plugins - Changed commit shortcut for fugitive

This commit is contained in:
Emmanuel BENOîT 2023-06-18 15:26:04 +02:00
parent a6d2972758
commit 86cab26b6a
No known key found for this signature in database
GPG key ID: 2356DC6956CF54EF

View file

@ -10,6 +10,7 @@ nnoremap <silent> <Leader>gs :Git<cr>
nnoremap <silent> <Leader>gc :Git commit -q<cr>
nnoremap <silent> <Leader>gz :Git reset %:p<cr>
nnoremap <Leader>gb :Git branch<space>
nnoremap <Leader>gP :Git! push<cr>
" Note: dangerous commands don't have a <cr>. Also commands that need
" arguments, obviously.
@ -17,6 +18,5 @@ nnoremap <Leader>gB :Git checkout -b<space>
nnoremap <Leader>gC :Git checkout<space>
nnoremap <Leader>gM :GMove<space>
nnoremap <Leader>gp :Git pull --recurse-submodules<space>
nnoremap <Leader>gP :Git push<space>
nnoremap <Leader>gr :GRename<space>
nnoremap <Leader>gR :GRemove