Re: MacVIM help?
- On Saturday, June 16, 2012 3:33:27 AM UTC-4, Andy Todd wrote:
> On 16/06/12 2:25 AM, zabouti wrote:Or I can drag the file's icon from the finder and drop it into my MacVim window.
> > 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/
The point is that I can now do this right from the shell, where I tend to do lots of my work.
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php