From a5531c7632ed9342e15460bfa5388a4b3dad8718 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Mon, 6 Jul 2015 22:49:32 +0200 Subject: [PATCH] Escape spaces in path (resolves #196) --- autoload/vimtex/view.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vimtex/view.vim b/autoload/vimtex/view.vim index dec3fba..f978b67 100644 --- a/autoload/vimtex/view.vim +++ b/autoload/vimtex/view.vim @@ -257,7 +257,7 @@ function! s:mupdf.reverse_search() dict " {{{2 let self.line = system(self.cmd_getline) " Go to file and line - silent exec 'edit ' . self.file + silent exec 'edit ' . vimtex#util#fnameescape(self.file) if self.line > 0 silent exec ':' . self.line " Unfold, move to top line to correspond to top pdf line, and go to end of