using paragraph seperator in vi – the easy way

imap aa <Esc>80i-<Esc>i<Esc>o

Just put this in the vimrc or in a vi session with a : in normal mode.

Explanation:

This will map the key \”aa\” to the sequence which will add \”-\” 80 times in the current line and then go to new line in insert mode. This is quite simple so any changes required should be simple enough to make.