as I said in the title I'm talking about vim-rmarkdown, I have this in my
init.vim (I'm using neovim) to compile the
.rmd file to a pdf.
autocmd Filetype rmd nnoremap <F5> :w<Space><bar><Space>RMarkdown!<Space>pdf<Space>latex_engine="pdflatex"<enter>
The plugin opens the pdf on it's own but the process is not disowned so I can't leave it open and continue working in vim. I've tried several things but every time I add something behind the
:RMarkdown! command it always takes it as a argument for rendering the pdf (even with
<bar>), so I always end up with failed rendering. Thanks for any help!