News for hackers. Stuff that matters.
Re:Mastering Bash and Terminal by fragmede on Saturday January 14, 2017 @07:52PM (#13401632)
That's interesting, why not just do `git commit` at the command line?
Re:Mastering Bash and Terminal by u801e on Saturday January 14, 2017 @08:55PM (#13401889)
It's more of a way to be able to commit without having to exit or suspend vim. I typically type the commit message while checking the diff. If I find an error in the diff, I'll switch to the vim window with the file, correct the issue and run :!git add %, delete the original output of the git status -v command I ran earlier and I re-run that command (which I can pull up by using q: to bring up the vim command history window).