Skip to content

Instantly share code, notes, and snippets.

@dleve123
Last active August 7, 2023 15:34
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dleve123/3d4ee61b31f986f409d3c281ad7ff6d2 to your computer and use it in GitHub Desktop.
Save dleve123/3d4ee61b31f986f409d3c281ad7ff6d2 to your computer and use it in GitHub Desktop.
Minimal vimrc for Git commit messages
" 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