Created
March 13, 2014 17:41
-
-
Save lmullen/9533169 to your computer and use it in GitHub Desktop.
Convert pandoc buffer to HTML and copy to system clipboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Convert pandoc buffer to HTML and copy to system clipboard | |
autocmd FileType pandoc nnoremap <buffer> <C-S-x> :write \| let @+ = system("pandoc -t html " . shellescape(expand("%:p")))<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment