Errrh, is there a way I can readily invoke MacVim as my editor with 1) the 
Apple Mailer? 2) In Xcode?

MacVim/Vim has been my editor of choice for over 10 years

-- 
David

On Dec 17, 2009, at 11:56 AM, björn wrote:

> 2009/12/17 bongoman:
>> Hi there
>> 
>> I use MacVim as an external editor with my email client, Sup.
>> 
>> Previously I was using TextMate via the mate binary which allowed for
>> a '-w' or 'wait' flag which when invoked from Sup, took me out  to
>> TextMate and then returned me to Terminal when done editing the
>> message.
>> 
>> I now have MacVim set as my external editor via the mvim binary and am
>> calling it thus:
>> 
>> /usr/local/bin/mvim + -f -c 'setlocal spell spelllang=en_us' -c 'set
>> filetype=mail'
>> 
>> Is there a way to have MacVim return me to the Terminal when I write
>> and close the buffer I was working on?
> 
> I use the following as my EDITOR so that Terminal comes back into
> focus e.g. after I've edited a Git commit message:
> 
> export EDITOR='mvim -f -c "au VimLeave * !open -a Terminal"'
> 
> That should be what you are after, right?
> 
> Björn
> 
> -- 
> You received this message from the "vim_mac" maillist.
> For more information, visit http://www.vim.org/maillist.php

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

Reply via email to