> 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.
    if has("gui_running")
        " Do stuff for gvim
    else
        " Do stuff for vim
    endif
See
    :help has()
    :help feature-list
for more.
Regards,
Gary
-- 
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