>   if has("gui_macvim")
...
> I moved them into .gvimrc (without the "if has()" guard) and it works.
> Perhaps the guard doesn't work like I thought it did (ie. at the time
> the .vimrc is evaluated 'gui_macvim' hasn't been set yet).

You can leave the guard turned on in your .gvimrc, and it will continue 
to work.

In my case, my .gvimrc is used by MacVim as well as other vims, and so I 
can be using a gui vim that isn't MacVim. I use if has("gui_macvim") to 
separate the two types of GUI preferences.

--Ted


-- 
Ted Pavlic <[email protected]>

   Please visit my 2009 d'Feet ALS walk page:
         http://web.alsa.org/goto/tedp
   My family appreciates your support in the fight to defeat ALS.

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

Reply via email to