Semantic linefeeds in vim for easier git versioning of LaTeX documents

One sentence per line is an easy way to create text file easier to edit and version control with Git for example.

Third Way

(From XKCD)

In Vim you can easily create a macro to format the current paragraph:

qa
vip
:'<,'>s/\n/ / | '<,'>s/\. /\.^M/g
q

and call the macro with:

@a
If you want to ask me a question or leave me a message add @bougui505 in your comment.