Append text to the end of multiple lines: :%s/$/\*/g Resources: Cheat sheets: http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial.html Vim macros: http://www.thegeekstuff.com/2009/01/vi-and-vim-macro-tutorial-how-to-record-and-play/