Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
VIM Cheatsheet

This is a cheatsheet with little bits and pieces that I've picked up along with way in VIM. I hope that you find it helpful.

Regexes

Split each sentences in a paragraph onto a newline. It only does a simplistic determination of a sentence, that being a full-stop, followed by a space and a capital letter.

:'<,'>s/\. \(\u\)/.\r\1/g
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.