On 08/09/09 01:33, Matt Wozniski wrote:
>
> On Mon, Sep 7, 2009 at 5:33 PM, Nathan Huesken wrote:
>>
>> - It happens with all colorschemes
>> - I am on archlinux
>> - I am using the gui
>> - When I do :hi normal guibg=black in the gui, it works
>> but when I do "hi normal guibg=black" in my .vimrc, it is no help :(
>
> Known archlinux issue.
>
> See http://bugs.archlinux.org/task/10303
>
> ~Matt

IMHO the "system" vimrc and gvimrc should not be installed by the 
software redistributor (archlinux in the OP's case and SuSE in my case, 
and they both install their own "system" settings, albeit different 
ones), but, if any, by the local sysadmin if the thinks that some 
nonstandard defaults should be common to all the users on the system 
(and even in this case I'm in favour of doing it with a "light hand", 
since any setting set by the admin in this way will probably differ from 
what the Vim help mentions, which goes against the "principle of least 
surprise").

Personally I bypass this problem altogether, by compiling Vim myself, 
which makes it look at the "Vim default" locations, i.e. (since I don't 
set $VIM explicitly in the outside environment), 
/usr/local/share/vim/vimrc and /usr/local/share/vim/gvimrc, which don't 
exist on my system, rather than in /etc/ where SuSE (and, I gather, 
archlinux) put their own "system [g]vimrc". For details, see my HowTo pages:

*x:  http://users.skynet.be/antoine.mechelynck/vim/compunix.htm
W32: http://users.skynet.be/antoine.mechelynck/vim/compile.htm

For some very obnoxious (IMHO) settings set by /etc/vimrc or 
/etc/gvimrc, e.g. ":set nomodeline", which is "required by the SuSE 
security team" (sic) and disables _all_ modelines for _all_ users 
whatsoever, I may counteract them anyway (against the case where I would 
be running the distro's version of Vim) by setting the opposite setting 
in my vimrc. If something I strongly disapproved was set in a system 
gvimrc, I might (since I don't maintain a ~/.gvimrc) set the opposite 
setting in a GUIEnter autocommand.


Best regards,
Tony.
-- 
My love runs by like a day in June,
        And he makes no friends of sorrows.
He'll tread his galloping rigadoon
        In the pathway or the morrows.
He'll live his days where the sunbeams start
        Nor could storm or wind uproot him.
My own dear love, he is all my heart --
        And I wish somebody'd shoot him.
                -- Dorothy Parker

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to