This is fun! I love finding new fun things to do in VIM! Thanks for the post!
Think you could help break down that first global command regular expression for me? I'm not the best at regular expressions yet and would love to understand how that first one works a bit better!
The full explanation from stackoverflow:
_$ means the end-of-line that can be used inside a pattern ($ can only be used at the end of the pattern.) Same is with _^ that means the start of a line and can be used anywhere inside the pattern. So, the pattern matches an empty line, a newline, and again an empty line. See: vimdoc.sourceforge.net/htmldoc/pat...
Ohh Awesome! That makes sense! The \_$ and \_^ are new to me, that's really cool!
I'll definitely remember those! Thanks again man!
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.