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)
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>
References: <firstname.lastname@example.org> <email@example.com>
Subject: Re: MacVIM help?
Content-Type: text/plain; charset=UTF-8
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
> 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.