Associate .Rnw with vim latex suite
问题 This I am sure is really basic stuff. I am just beginning using gvim and latex-suite. However I would like latex-suite to load when I edit a sweavefile with.Rnw extension. my .vimrc looks like this " These settings are needed for latex-suite filetype indent on filetype plugin on filetype on let g:tex_flavor='latex' set grepprg=grep\ -nH\ $* "let g:Tex_Folding=0 "I don't like folding. set iskeyword+=: and I guess there is some option I can set here that makes vim treat Rnw as .tex? 回答1: Put a