gvim append to every line code example Example: vim how to append to every line # Basic syntax: :%s/$/text_to_add/g