Harry Putnam 写道:
> Do your saying it can't be done from a single .vimrc file?
No, I'm saying you should not rely on has("gui_running").
>
> So how can I have gvim run with the settings in place, but not bother
> my vim settings, and not have to maintain another init file?
If you want to omit the .gvimrc, you should put everything you want in
your .gvimrc in the GUIEnter autocommand. and of course, you can put the
autocommand in your .vimrc, something like:
autocmd GUIEnter *
\ foobar1
\ foobar2
\ foobar3
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---