git add and commit mapping

This commit is contained in:
ManjaroOne666 2018-03-05 16:08:17 +00:00
parent bf73066bbb
commit 4bf37c2fb9
1 changed files with 1 additions and 0 deletions

1
vimrc
View File

@ -173,6 +173,7 @@ nnoremap <leader>gd :!clear; git diff<CR>
nnoremap <leader>ga :!clear; git add %; git status<CR>
nnoremap <leader>gA :!clear; git add .; git status<CR>
nnoremap <leader>gc :!clear; git commit -m ''<Left>
nnoremap <leader>gg :!clear; git add %; git commit -m ''<Left>
nnoremap <leader>gp :!clear; echo 'Git push ...'; git push<CR>
nnoremap <leader>gl :!clear; git log<CR>