Latex snippet associate with Rnw mode in Emacs

255 Views Asked by At

I would like to have my yasnippets for Latex mode to be available for .Rnw files. How to go about this? Also, it would be nice to have R snippets available as well.

EDIT: I found out the real problem is that in .Rnw the TAB key is bound not to yasnippets. Does anyone know how to tackle this problem not messing up anything? (it is bound to noweb-indent-line)

1

There are 1 best solutions below

0
On BEST ANSWER

I got fed up not being able to change the keymap of noweb-minor-mode-map, ess-noweb-mode-map, local-set-key and whatever that I gave up and just deleted the code from ess-indent and replaced it by (yas-expand)