For a treat.. before you start those steps..
visit
www.nedit.org and download the executable for your OS & platform..
Also down load the contributed patternfiles for Verilog-A and Verilog-AMS..
after adjusting your path so the nedit executable is available on your path.. import the two pattern files (instructions in the file)
and save defaults after importing each..
--
now in the CIW command line type
>editor = "nedit"
and proceed thru the steps above..
I think you'll be happier with this editor than with vi..
(but I did Verilog-A modelling for 2 years before I found out about nedit in 1999.. )
Jonathan