From 94e0a4e97d7153be5ef8612861b7fbae65987a31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A1n=20Ribao=20Mart=C3=ADnez?= Date: Tue, 5 Oct 2010 18:37:13 +0200 Subject: [PATCH] Remaped shortcuts for git push and git PullRebase --- README.rdoc | 2 ++ plugin/git.vim | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/README.rdoc b/README.rdoc index d9cb224..ce21f1f 100644 --- a/README.rdoc +++ b/README.rdoc @@ -28,6 +28,8 @@ Git-vim provides: [ga] :GitAdd [gA] :GitAdd [gc] :GitCommit +[gp] :GitPush +[gP] :GitPullRebase === In git-status buffer [] :GitAdd diff --git a/plugin/git.vim b/plugin/git.vim index b5b5970..25c7f4a 100755 --- a/plugin/git.vim +++ b/plugin/git.vim @@ -30,7 +30,8 @@ if !exists('g:git_no_map_default') || !g:git_no_map_default nnoremap ga :GitAdd nnoremap gA :GitAdd nnoremap gc :GitCommit - nnoremap gp :GitPullRebase + nnoremap gp :GitPush + nnoremap gP :GitPullRebase endif " Ensure b:git_dir exists.