From: Samir Benmendil Date: Sat, 1 May 2021 14:15:14 +0000 (+0100) Subject: vim: mappings for git pull and git rebase X-Git-Url: https://git.rmz.io/dotfiles.git/commitdiff_plain/22b3f7446752ed1b4eeb4b47cea8b9591cf70ff5 vim: mappings for git pull and git rebase --- diff --git a/vim/vimrc b/vim/vimrc index b5d20ad..53a48b0 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -606,6 +606,9 @@ nnoremap gcf :tab G commit -v --fixup= nnoremap gp :echohl WarningMsg \| echo "use \gpp instead" \| echohl None nnoremap gpp :Git push \| copen nnoremap gpf :Git push --force-with-lease \| copen +nnoremap gll :Git pull +nnoremap gru :Git rebase --interactive @{upstream} +nnoremap grp :Git rebase --interactive @{push} nnoremap ga :Gwrite nnoremap gb :G blame