thank you all, you 've been really helpfull!

now i do things like this:

if !has("gui_running")
        colorscheme developer
endif

if has("gui_running")
        colorscheme desert
endif

also i use bash-IDE script(in linux and bsd), i do something like this:
set sh=/bin/bash
if (g:freebsd == 1)
        set sh=/usr/local/bin/bash
endif

where g:freebsd is a variable that i declared...

but i still have one question:

I want by default to use ttf-inconsolata fonts but if i haven't
installed them on a system i want to go back on monospace.
is there any way to do this within the vimrc?

set guifont=monospace\ 14
if has(...)
set guifont=Inconsolata\ 14
endif

in other is it possible to check for the existence of a font from within vim?

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

Reply via email to