vim-rmarkdown icon indicating copy to clipboard operation
vim-rmarkdown copied to clipboard

Not an editor command

Open krusse opened this issue 9 years ago • 6 comments

:RMarkdown does not seem to register as a command.

I installed through vundle with all prerequisites installed.

I would really love to have the Rscript functionality of this plugin. Any help is appreciated.

krusse avatar Nov 20 '15 17:11 krusse

I had this issue as well. Run :set filetype=rmarkdown. As it is, *.Rmd files are being set to filetype rmd by default, and thus the scripts in this repo don't seem to be running.

georgewsinger avatar Jul 21 '16 23:07 georgewsinger

is there a way to set something into .vimrc file permanently or change some other seeting so one do not need to run :set filetype=rmarkdown all the time ?

smilesun avatar Dec 05 '17 15:12 smilesun

The latest changes in the repo (from the latest PR) should have improved this somewhat, did they not?

fmoralesc avatar Dec 05 '17 15:12 fmoralesc

I dont think so, since I run BundleUpdate, and the problem is still there.

smilesun avatar Dec 05 '17 15:12 smilesun

Add this to your .vimrc: autocmd BufRead,BufNewFile *.rmd set filetype=rmarkdown

nikolaussucher avatar Jul 01 '18 02:07 nikolaussucher

I'm facing a similar issue, but if I use @nikolaussucher solution, it doesn't highlight the syntax unfortunately. The hl works but the command doesn't

ghost avatar Jul 19 '18 19:07 ghost