On 4/13/06, linda. s <[EMAIL PROTECTED]> wrote:
> On 4/13/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > linda.s <[EMAIL PROTECTED]> wrote on 2006.04.13 16:02:44:
> >
> > > I have both vim and gvim app under my applications in the Mac. Both work
> > fine.
> > > I typed vim in the terminal and it successfully went yo VIM interface.
> > > However, if I typed gvim, there came an error message "-bash: gvim:
> > > command not found". If I want to launch gvim from the terminal, what
> > > to do
> >
> >
> > try: vim -g
> >
> vim -g
> E25: GUI cannot be used: Not enabled at compile time
>

Traditionally, on a mac, if you want to open an application from the
terminal you can do so as

open -a Vim

This assumes your application is in one of the "regular" locations
such as /Applications or /Applications/Utilities.  If your gvim is in
Applications the above command should work.  You can also pass a
filename to it if you want to open a particular file such as

open -a Vim myfilename

Hope this helps.
Jeremy

Reply via email to