Re: Is there a command line way to run gvim with a #ccffff color background?

Steve Litt <[email protected]>
Newsgroups gmane.editors.vim
Message-ID <[email protected]>
Tony Mechelynck said on Mon, 10 Feb 2025 02:50:04 +0100

>On Sun, Feb 9, 2025 at 9:39 PM <[email protected]> wrote:
>>
>> On Sunday, Feb 09, 2025 at 03:28 PM
>> Steve Litt <[email protected]> wrote:
>>  
>> > Is there a command line way to run gvim with a #ccffff color
>> > background?
>> >
>> > Thanks
>> >
>> > SteveT
>> >
>> > Steve Litt
>> > http://444domains.com
>> >  
>>
>>
>> :highlight Normal guibg=#ccffff  
>
>To run it always with that background, add the above line to your
>vimrc.
>
>To do it once, run either
>    gvim --cmd "hi Normal guibg=#ccffff"
>or
>    gvim -c "hi Normal guibg=#ccffff"


Thanks Tony and Chainsaw. This is what I needed, and I put it in my
menu.

SteveT

Steve Litt 

http://444domains.com

-- 
-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_use/20250209223130.4ef3ef94%40mydesk.domain.cxm.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.