Instantly share code, notes, and snippets.
Insert a character only on non-empty lines. Below inserts a > on all non- blank lines:
>
%s/[^$]/> \0/