Changed relative file to absolute file Using relative files causes a failure if you open a file within vim that is not in your current working directory. This can lead to unexpected results if there is an file name identical to the one you are editing in the working directory, and no markdown generated if there is no file with that name in the working directory.
1 files changed, 1 insertions(+), 1 deletions(-) M plugin/vim-markdown-preview.vim
M plugin/vim-markdown-preview.vim => plugin/vim-markdown-preview.vim +1 -1
@@ 4,7 4,7 @@ "============================================================ function! Vim_Markdown_Preview() let curr_file = expand('%:t') let curr_file = expand('%:p') call system('markdown ' . curr_file . ' > /tmp/vim-markdown-preview.html') let chrome_wid = system("xdotool search --name 'vim-markdown-preview.html - Google Chrome'") if !chrome_wid