[Lvlug] vim Script Troubles - Silly me!
rignes at ptd.net
Fri Apr 29 18:43:33 EDT 2005
* Ricardo SIGNES <rjbs-lvlug at lists.manxome.org> [2005-04-29 09:15:52-0400]
> * Brian Reichert <rignes at ptd.net> [2005-04-29T09:13:17]
> > I finally discovered the root cause of my script problems with vim.
> > It seems that every script I tried was having the same problem with
> > not mapping key correctly. Well, it occurred to me as I was trying to
> > fall asleep that I was in vi compatibility mode. I just put 'set
> > nocompatible' in my vimrc and now scripts work as they should.
> That's very odd. Did you previously have "set compat" somewhere? If
> Vim finds a .vimrc file, it automatically goes into nocp mode, unless
> told to go back to compat.
As far as I can tell "set compat" isn't anywhere. I haven't checked, but maybe
it's a compile option to make compat mode the default?
To stop sinning suddenly.
-- Elbert Hubbard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://www.thelinuxlink.net/pipermail/lvlug/attachments/20050429/d6f26ac4/attachment.bin
More information about the Lvlug