ozr0sw
Last Updated: February 25, 2016
·
483
· gondoi
3a5dc7de7f0d9b0ac72f4989d8c9b33c

Git commit formatting and spell check

If you have a hard time remembering to format your git commits properly, you can add this simple line to your .vimrc file:

autocmd Filetype gitcommit setlocal spell textwidth=72

This will:
- Highlight formatting of your commit message (50 characters, no period)
- Spell check (you need to install aspell)
- Auto wordwrap your extended message at 72 characters

Say Thanks
Respond