Thanks - that seems to be it.
"Benji Fisher" <benji@...
> wrote in message
> On Tue, Jul 27, 2004 at 01:26:10PM -0400, Joe wrote:
> > I'm using vim 6.2 under Cygwin on XP.
> > I want to map ^G to do something while in insert mode and I want it to
> > to all users.
> > I have the VIM environment varaible set to /usr/local and vim --version
> > it will read $VIM/vimrc (no dot) first.
> > I put this in $VIM/vimrc (/usr/local/vimrc):
> > :imap <C-G> ....
> > Then I start vim and type :imap and it shows the map - but it doesn't
> > it does nothing.
> > (There are other non-insert mode maps in $VIM/vimrc that DO work.)
> > Then I delete that line from $VIM/vimrc and put it in $HOME/.vimrc and
> > start vim and it does work!
> > Why would it work in $HOME/.vimrc but not in $VIM/vimrc?
> :help compatible-default
> HTH --Benji Fisher