5 ms·
except when you add one word and re-flow the entire paragraph
by khc 7y ago
except when you add one word and re-flow the entire paragraph
- robinson-wall 7y agoYour editor should be able to help with that. For example in vim: `gqap` will reflow the current paragraph, or while in visual select mode you can use `gq` to reflow your selection).
- CGamesPlay 7y agoThis still ruins the diff view of the code, though. (e.g. git blame)
- khc 7y agothat's exactly what causes the viewing diff problem that I was replying to
- Spivak 7y ago--word-diff=color is your friend in this case.
- ilammy 7y agoThat's when semantic line-breaking comes into a picture. Put a line break before each new sentence and before each clause in a sentence. That makes the text much more diff-friendly, and tends to keep the line lengths at bay too.