How-to-simply...

Add vertical guides to vim text editor at 80 and 120 characters

  • 1 echo "set colorcolumn=80,120" >> ~/.vimrc

References