commit a158be8d3ce612f250c47475dfefb3b995ec4662
parent 8119b7cbe490f03eca087a33ff1169968959e738
Author: Anders Damsgaard <anders.damsgaard@geo.au.dk>
Date: Wed, 7 Jan 2015 15:42:01 +0100
add commit+push keybind
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/.vimrc b/.vimrc
@@ -314,6 +314,7 @@ nmap <leader>l <C-w>l
" Commit all changes
"nmap <leader>g :Gcommit<CR>
nmap <leader>g :!git commit -a -v<CR>
+nmap <leader>G :!git commit -a -v && git push<CR>
" Toggle fold
nmap <leader>f za