For now, it only needs to work on my Mac (MacVim or GVim...I custom-
compiled GVim just now in a futile effort to get it to detect my
custom $PATH when not invoked from the shell) and on my office Windows
box (GVim as well). I'm sure that Debian would not like this one bit,
so once this Macbook breaks down I'll have to further evolve my font
settings.
Thanks for all the help!
Thomas
On Nov 12, 10:29 pm, Tony Mechelynck <[EMAIL PROTECTED]>
wrote:
> On 13/11/08 04:01, 703designs wrote:
>
> > Thanks, I'll bookmark this reply in case I end up on other platforms
> > using GVim. For my purposes, this will work well:
>
> > if has("gui_running")
> > if has("unix")
> > set guifont=DejaVu\ Sans\ Mono:h12:cDEFAULT
>
> did you test the above? AFAIK, on X11 it will _not_ work. Depending on
> the particular GUI flavour (and possibly on the same machine) you need
> something ending in "\ 12" for a GTK2 GUI, in ":s12" for a Photon GUI,
> and an |XLFD| (which is a long dash-separated string with no spaces or
> colons in it) for other X11 GUIs such as Athena, Motif or GTK1 (but not
> the obsolete kvim which might still be included in some Linux
> distributions, and uses another format again); using the "wrong" one
> won't work.
>
> > else
> > set guifont=Courier_New:9:cDEFAULT
> > endif
> > " Other settings
> > endif
>
> > Thomas
>
> Best regards,
> Tony.
> --
> A bug in the hand is better than one as yet undetected.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---