Skip to content

Instantly share code, notes, and snippets.

@lmullen lmullen/pdf.vim
Last active Oct 17, 2015

Embed
What would you like to do?
With a file `test.md` in the current Vim buffer, open the file `test.md.pdf` in the OS.
command! -nargs=0 PDF call PDF()
function! PDF()
:silent exec "!open ".expand("%:p").".pdf"
endfunction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.