On 06/05/09 13:35, Raúl Núñez de Arenas Coronado wrote:
>
> Saluton Tony :)
>
> On Wed 6 May 2009 12:53 +0200, Tony Mechelynck<[email protected]> dixit:
>> On 05/05/09 15:30, Bill Moseley wrote:
>>> Pretty simple solution (as is often the case):
>>>
>>> ftplugin are disabled in this version of Vim packaged in
>>> Debian/Ubuntu, it seems.
>>
>> Meddlesome distributors and system vimrc scripts... My distributor
>> (openSUSE) disables modelines by default in the versions of Vim they
>> distribute, and that not only for root (which is the current Vim
>> default) but for all users (which isn't). IIUC they regard running
>> with modelines enabled as a security risk.
>>
>> If they hadn't put that system vimrc on their distro, you would have
>> had to enable filetype-plugins yourself in your vimrc (by "filetype
>> plugin on" or by "runtime vimrc_example.vim") from the start, and
>> nothing would have changed when you upgraded the OS. Ah la la...
>
> The worst thing is that the only choice is going to the system wide
> vimrc and delete it or at least including a "finish" on top of it, which
> is annoying.
>
> Sometime distributors provide a system wide vimrc to make sure that
> other pieces of the system will work better (:?) with Vim by default.
> Most of the time this policy is good, but with Vim is not because you
> can't disable reading the system wide vimrc unless you provide command
> line arguments, which is annoying if you use Vim from a menu entry or
> something like that, and because Vim is very interoperable and
> configurable without any meddling... With the default configuration
> everything works OK (IMHO).
>
:-)
Well, now that I compile my own Vim, it comes in the $PATH before any
Vim from the distro, and it looks for a "system vimrc" at
/usr/local/share/vim/vimrc (and doesn't find it), not at /etc/vimrc
where the distro puts its own.
Best regards,
Tony.
--
"... After all, all he did was string together a lot of old, well-known
quotations."
-- H. L. Mencken, on Shakespeare
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---