Vim Git it!
do git add, git commit(with your message), and git push in one command
Whenever you just want to push all your recent changes with a message, just
:Gitit {Your message}
and it's done.
Demo
Installation
Use your favorite plugin manager
" vim-plug
Plug 'skywind3000/asyncrun.vim'
Plug 'casprwang/vim-git-it'
Usage
Git add all, commit all with a prompting message and push to the remote(master)
:Gitit <your messgage with spaces>
Git commit the current file with a prompting message
:GititCommit <your messgage without quotes>
remember to hit enter at the end. After then, your commits will be pushed/staged on the background silently.
Mapping
nnoremap {shortcut} :Gitit
nnoremap {shortcut} :GititCommit
Todos:
Run in the background- add non-pushing command
License
MIT © Casper Wang