Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion MacVIM help?

Received: by 10.52.75.161 with SMTP id d1mr6352149vdw.2.1339846039112;
        Sat, 16 Jun 2012 04:27:19 -0700 (PDT)
X-BeenThere: vim_mac@googlegroups.com
Received: by 10.52.100.135 with SMTP id ey7ls1088871vdb.6.gmail; Sat, 16 Jun
 2012 04:27:15 -0700 (PDT)
Received: by 10.52.93.83 with SMTP id cs19mr627329vdb.16.1339846035827;
        Sat, 16 Jun 2012 04:27:15 -0700 (PDT)
Date: Sat, 16 Jun 2012 04:27:15 -0700 (PDT)
From: zabouti <zabo...@gmail.com>
To: vim_mac@googlegroups.com
Message-Id: <d73c138e-1a33-494d-b368-0885dce0dc2a@googlegroups.com>
In-Reply-To: <4FDC36C7.7090509@halfcooked.com>
References: <44bb8874-973e-4567-bfda-1cfa1b08a860@googlegroups.com> <f95d4bbb-432c-4d51-8833-d6b28b9059be@googlegroups.com>
 <4FDC36C7.7090509@halfcooked.com>
Subject: Re: MacVIM help?
MIME-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_13_19538742.1339846035418"

------=_Part_13_19538742.1339846035418
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

On Saturday, June 16, 2012 3:33:27 AM UTC-4, Andy Todd wrote:
> On 16/06/12 2:25 AM, zabouti wrote:
> > Thanks to everyone here - this is something I've wanted to do for a long time.
> >
> > Now, thanks to the suggestions here and to vim's help messages, I've made a little shell script with these two lines:
> >
> > #!/bin/sh
> > /Applications/MacVim.app/Contents/MacOS/Vim -gp --remote-tab $*
> >
> > If I call it with something like 'myvim ~/temp.txt', it will open ~/temp.txt in an existing MacVim window in a new tab.
> >
> > I love it!
> >
> 
> Or you could just switch to MacVim and type :tabe ~/temp.txt
> 
> Regards,
> Andy
> -- 
>  From the desk of Andrew J Todd esq - http://www.halfcooked.com/

Or I can drag the file's icon from the finder and drop it into my MacVim window.

The point is that I can now do this right from the shell, where I tend to do lots of my work.

-- ge
------=_Part_13_19538742.1339846035418--