I found a simple recipe for configuring ".make" in MacVim to automatically 
bring up Marked 2 for markdown rendering as I edit.  I can't get it to 
work.  Perhaps there is a simpler way?

The recipe is from Rob Allen:  Use Vim's :make to preview markdown 
<https://dzone.com/articles/use-vims-make-to-preview-markdown>

So I have the file ~/.vim/ftplugin/markdown.vim, and it contains the 
following line:

set makeprg=open\ -a\ Marked\\\ 2.app\ '%:p'
When I try ":make" in MacVim, it reports the following:

make: *** No targets specified and no makefile found.  Stop.

I can manually start Marked 2, and in Marked 2 find the file I'm editing 
and open it, and that works.  But I would like to do this with a keystroke 
from MacVim.  Rob Allen's page filled me with hope that this was possible 
and easy.  Am I close?

Thanks!

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_mac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_mac+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_mac/c89e39c4-9bdc-4e36-9adf-b221a0cfef6an%40googlegroups.com.

Reply via email to