Linking MacVim and Marked.app
Linking MacVim and Marked.app
You will need MacVim and Brett Terpstra’s Marked.app
Aim:
- write markdown in macvim and easily invoke marked.app to render
How:
- in your .vimrc file put:
:nnoremap <leader>m :silent !open -a Marked.app '%:p'<cr>
- to use - in MacVim, write markdown happily, hit ‘\’m whenever you want to fire up Marked.app to view
got this hint from @tednaleid
How I use it:
- I use Devonthink a lot.
- In Devonthink - open up a note in an external editor via Shift-Cmd-O (open with) into MacVim
- edit in MacVim and then preview in Marked.app
- dump to pdf or html from Marked.app when I need it
Coming soon, I’ll put up a workflow for using Omnifocus, Devonthink, Vim and Marked.app