Monday, March 28, 2011

Re: how to justify i'm in VIM or GVIM?

Reply to message «how to justify i'm in VIM or GVIM?»,
sent 06:22:31 29 March 2011, Tuesday
by G G:

if has("gui_running")
" Code for gvim here
else
" Code for terminal vim here
endif

Original message:
> hi, all
>
> when i write a vim script, how can i decide whether i'm in VIM or GVIM?
> i mean, i want different colorsceme setting for each.
>
> thanks. G

No comments: