diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 3945dcc..2bd166e 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -85,10 +85,10 @@ set noshowcmd nnoremap S :%s//g " Compile document, be it groff/LaTeX/markdown/etc. - map c :w! \| !compiler %:p + map c :w! \| !compiler "%:p" " Open corresponding .pdf/.html or preview - map p :!opout %:p + map p :!opout "%:p" " Runs a script that cleans out tex build files whenever I close out of a .tex file. autocmd VimLeave *.tex !texclear %