VI Macro Problem

I'm having a problem with a macro i put in my .exrc file.

Here's what I put: map #I ^[

^ [ is control-v and the escape key.

It places a # a the beginning of a line by simply hitting the # on the keyboard. Problem is, now when I hit "o" or "O" to move up or down a line, it places a # at the beginning of thos lines. Anyone know what I'm doing wrong.

Your syntax appears to be slightly wrong. Try:

map # I#^[

That works for me.