2009/6/29 untz:
>
> I am installed MacVim on OS X Leopard in the following directory:
>
> /DevTools/MacVim/MacVim-7_2-stable-1_2
>
> There's a mvim Unix shell script inside that particular directory
> which I can invoke using ./mvim
>
> However, when I placed this into my PATH by creating a MACVIM_HOME
> under .bash_profile, I was still unable to launch MacVim from the
> command line.
>
> My .bash_profile:
>
> export MACVIM_HOME="/Users/untz/DevTools/MacVim-7_2-stable-1_2";
> PATH=$MACVIM_HOME:$PATH;
>
> How can I set it so when I type in "vim" or "gvim" or "mvim" that I
> will able to launch MacVim from the command line?

I don't know if this is a typo in your post, but in one place your
path is "/DevTools/..." and in the other it is
"/Users/.../DevTools/..." -- is that the problem perhaps?

If that is not the problem, then maybe it is your "mvim" script -- as
far as I can tell you've created your own "mvim" script?  What does it
look like?

If you are using the "mvim" script that is bundled with MacVim then
you need to tell it where MacVim.app is by setting the environment
variable VIM_APP_DIR to whatever folder you've placed MacVim.app
inside (since you are using a non-standard folder).


Björn

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

Reply via email to