~dricottone/vim-markdown-preview

2be6693d4e01132e410a14971e45d06a2d978073 — Jamshed Vesuna 9 years ago 48f4444 + a55bbfa
Merge pull request #5 from zeebo404/master

Changed relative file to absolute file
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