Skip to content

Instantly share code, notes, and snippets.



Last active Oct 17, 2015
What would you like to do?
With a file `` in the current Vim buffer, open the file `` in the OS.
command! -nargs=0 PDF call PDF()
function! PDF()
:silent exec "!open ".expand("%:p").".pdf"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment