From 4bf37c2fb959fcef7737f9284b18e9b53a03fb5b Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Mon, 5 Mar 2018 16:08:17 +0000 Subject: [PATCH] git add and commit mapping --- vimrc | 1 + 1 file changed, 1 insertion(+) diff --git a/vimrc b/vimrc index d198720..28bbc83 100644 --- a/vimrc +++ b/vimrc @@ -173,6 +173,7 @@ nnoremap gd :!clear; git diff nnoremap ga :!clear; git add %; git status nnoremap gA :!clear; git add .; git status nnoremap gc :!clear; git commit -m '' +nnoremap gg :!clear; git add %; git commit -m '' nnoremap gp :!clear; echo 'Git push ...'; git push nnoremap gl :!clear; git log