Automatically wrap long Git commit messages in Vim January 31, 2023 by Tarik Add this to your .vimrc: au FileType gitcommit setlocal tw=72