Monday, April 4, 2016

Formatting a git commit message in Vim

TL;DR
:set tw=0 fo=cqt wm=0 #No automatic wrapping, rewrapping will wrap to 72
gq #Format the whole Document.
vip #Format a paragragh

The longer version:

No comments:

Post a Comment