sponsor Vim development Vim logo Vim Book Ad

git-commit : see your commit diff with git

 script karma  Rating 36/14, Downloaded by 1815  Comments, bugs, improvements  Vim wiki

created by
Pierre Habouzit
script type
this ftplugin (and syntax file) brings you the ability to see the diffs of the commit you are commenting at the same time, a bit like svn-commit does.
install details
unpack the tar in your $HOME and add:

  au BufRead,BufNewFile COMMIT_EDITMSG     setf git

into your .vim/filetype.vim

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
git.tar 0.2 2007-11-26 7.0 Pierre Habouzit use GIT_INDEX_FILE and git diff --stat -p --cached…

thanks a lot to Junio and Jan Hudec for the tip…
git.tar 0.1 2007-06-21 7.0 Pierre Habouzit Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
Vim at Github