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

Oleg Zadorozhnyi <[email protected]>
Newsgroups gmane.editors.vim
Message-ID <CAOQ+-RgtNie6aHrasj8OFFeXVYgY1bXv8Ny0b7FgZ6KS-KPJ_w@mail.gmail.com>
how to unsubscribe?

пн, 10 февр. 2025 г. в 15:47, Chainsaw <[email protected]>:

> On Sunday, Feb 09, 2025 at 10:31 PM
> Steve Litt <[email protected]> wrote:
>
> > 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
> >
>
> Here is another way triggered after loading a/any color scheme.
>
> Say you want this to happen when you change to dracula colorcsheme:
>
> augroup ColorschemeTweak
>      autocmd!
>      autocmd ColorScheme dracula highlight Normal guibg=#ccffff
> augroup END
>
> Or for any colorscheme:
>
> augroup ColorschemeTweak
>      autocmd!
>      autocmd ColorScheme * highlight Normal guibg=#ccffff
> augroup END
>
> --
> --
> 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/20250210084729.000014a4%40fourbarlinkage.net
> .
>

-- 
-- 
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/CAOQ%2B-RgtNie6aHrasj8OFFeXVYgY1bXv8Ny0b7FgZ6KS-KPJ_w%40mail.gmail.com.
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.