git add and commit mapping
This commit is contained in:
parent
bf73066bbb
commit
4bf37c2fb9
1
vimrc
1
vimrc
|
@ -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>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>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>gp :!clear; echo 'Git push ...'; git push<CR>
|
||||||
nnoremap <leader>gl :!clear; git log<CR>
|
nnoremap <leader>gl :!clear; git log<CR>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue