R markdown keybinding F5

This commit is contained in:
Tobias Manske 2018-05-04 16:53:50 +02:00
parent 83bfd6b890
commit 439906a6e8
No known key found for this signature in database
GPG Key ID: 978D99F12D4E041F

View File

@ -38,3 +38,6 @@ nmap <F9> :SCCompile<cr>
nmap <F10> :SCCompileRun<cr>
nmap <C-c> g~iw
" Rmarkdown
autocmd Filetype rmd map <F5> :!echo<space>"require(rmarkdown);<space>render('<c-r>%')"<space>\|<space>R<space>--vanilla<enter>