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
Written by BK Box
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#