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

Reply via email to