Last Updated: February 25, 2016
·
765
· gondoi

Spell checking and auto word wrap with vim and git

You can easily get spell checking and auto word wrapping with one line in your vimrc for any git commit. Just add this line to ~/.vimrc:

autocmd Filetype gitcommit setlocal spell textwidth=72

Original Source