> Hi all
>
> I am working on Linux (GNome) and I want to set the font in my vim in
> italic style. But I don't know how. In windows, the code could be:
> set guifont=fontname:h11:i
> where i stands for italic.
>
> But the code doesn't work on Linux, how could it be done in Linux?
>
> Thanks.
>
> --
> 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
try
:hi Normal gui=italic
Not sure if it will propagate to other highlight groups; or maybe put it
in a custom colorscheme and see if it works better.
Warning: I think that setting 'guifont' will change the Normal highlight
to font=blablabla so order matters: in your vimrc, set 'guifont' first
and the Normal highlight afterwards.
Best regards,
Tony.
--
"What are we going to do?"
"Me, I'm examining the major Western religions. I'm looking for
something that's soft on morality, generous with holidays, and has a
short initiation period."
--
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
No comments:
Post a Comment