On 2008-11-11, Sashan Govender <[EMAIL PROTECTED]> wrote:
> I'd like to add something to my .vimrc to change the colorscheme
> applied depending on the whether I'm running a gvim instance or vim in
> a terminal.
if has("gui_running")
" do GUI-only stuff
else
" do terminal-only stuff
endif
See
:help has()
:help feature-list
Regards,
Gary
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---