Vim html.erb snippets?? snipMate Need a vim tip!

Posted by Daniel Upton on Stack Overflow See other posts from Stack Overflow or by Daniel Upton
Published on 2011-01-11T14:38:38Z Indexed on 2011/01/11 14:53 UTC
Read the original article Hit count: 281

Hi,

I've started using Vim for my rails development (who hasn't!).. And i'm loving it except that when im in a html.erb file (HTML and Ruby).. I get no snipMate snippets,

I would like both html and ruby... or just html would be fine, How would i do this?

Would i need to write a set of snippets?

if so is there a way of pulling in existing snippets without copying them?

Is there a way of telling vim to go into html mode when it sees .html erb?

Thanks

Daniel

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about vim