Skip to content

casprwang/vim-git-it

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

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

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

Releases

No releases published

Packages

No packages published