> If you can figure out a way to bring up the Spotlight search box
> programmatically (perhaps by calling some Apple Script with the
> "osascript" command), you should be able to set up another mapping
> that minimizes full-screen and brings up Spotlight and then use an
> autocommand (see ":h focusgained") to check whether to re-enable
> full-screen when MacVim gets the focus again.  But you would have to
> use another mapping than Cmd+Space (perhaps Alt+Space, which is close
> enough).  I leave it as an exercise to figure out the details on how
> to accomplish this (sorry...if I had the answer I would give it to
> you, but I'm not sure how this would be done). :-)

No prob.  The Applescript is pretty easy (assuming the default
shortcut to Spotlight):
tell application "system events" to keystroke " " using {command down}

I'll write up a little function and post it, for anyone interested.

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

Reply via email to