Monday, December 12, 2011

run shell command, launch app, but keep focus

I have the following command mapped for previewing markdown as HTML:
silent !pandoc -f markdown -t html -s -o %:r.html %:r.mtxt | open -a
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome
%:r.html

However, when the browser launches, Vim loses focus. I'd like Vim to
keep focus. Is there a way I can do that?

c
--
Chris Lott

--
You received this message from the "vim_use" 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

No comments: