Micro Tech Stuff
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:
How to use Vim’s textwidth like a pro - Inside 736-131
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment