On Tue, Jan 19, 2010 at 3:36 PM, MK wrote:
> On Tue, 19 Jan 2010 12:28:45 -0500 (EST)
> "Benjamin R. Haskell" <[email protected]> wrote:
>> Ubuntu 9.10's /usr/share/vim/vimrc contains:
>>
>> if has("syntax")
>> syntax on
>> endif
>>
>> Try commenting that out, for starters. Otherwise, I'll keep digging.
>> FC 9 and 10 don't appear to have a similar 'global vimrc'.
>
> Yeah that's probably it. I'm not working in ubuntu right now but I had a
> look, and that file (a softlink to /etc/vim/vimrc) is there. I previously
> uninstalled the ubuntu vim -- the one I am using is in /usr/local -- which is
> why such a conflict did not occur to me. I presume that the uninstall did
> not remove those files, and that vim always checks a list of default
> directories inc. /usr/share/vim (is that a good idea?)
Vim always checks a list of directories, but there's no reason why
/usr/share/vim would be in it unless you told it to be. Can you share
what your /usr/local vim prints out for
vim --version
and what you get when, inside that vim, you run
:verbose set rtp?
> Someone should send ubuntu a note about this since this is clearly a BAD
> POLICY. If anyone connected with vim, etc wants to do so, please reply,
> otherwise I'll go ahead.
This sounds much more like a misconfiguration in your self-built vim
than a problem with Ubuntu's vim.
~Matt
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php