[Lvlug] vim Script Troubles - Silly me!
rjbs-lvlug at lists.manxome.org
Fri Apr 29 09:15:52 EDT 2005
* 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.
-------------- 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/f368165f/attachment.bin
More information about the Lvlug