# Basic syntax: :%s/$/text_to_add/g
# append character "*" at the end of each line :%norm A*
:%s!^!//!
:'<,'>s!^!//!
To append to a line in vim, press A