Last active
August 7, 2023 15:34
-
-
Save dleve123/3d4ee61b31f986f409d3c281ad7ff6d2 to your computer and use it in GitHub Desktop.
Minimal vimrc for Git commit messages
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Motivated by https://robots.thoughtbot.com/5-useful-tips-for-a-better-commit-message | |
syntax on " Turn on color syntax and allow custom Git commit message messages | |
autocmd Filetype gitcommit setlocal spell textwidth=72 " Spell check git commit messages and wrap text at column 72 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment