Slippery Snippets
Saturday, May 19, 2007
  Another demo Spotted this one thanks to Google Alerts.

Great screencast!
Great plugin!

Coul'd you please advice how can i switch from one snippet scheme to another. For example i have ruby for *.rb, but sometimes i want to use rails snippets... per rails.vim i can always know is it good time to switch to rails snippets but i don't know how to do it.
antono: You've got a few options. First you could set your filetype to 'rails' which will cause the snippets to be loaded. You could also set it to 'ruby,rails' which would cause both to be loaded (check that; I'm not sure if it's comma delimited)

The other option is to select rails from the Snippets menu (if using gvim) or to use 'emenu' and do the equivalent if using the console version.

Hope that helps; sorry for the delay in replying.
Post a Comment

Subscribe to Post Comments [Atom]

<< Home

July 2006 / August 2006 / September 2006 / October 2006 / November 2006 / December 2006 / March 2007 / April 2007 / May 2007 / July 2007 / September 2007 / February 2008 / June 2009 / December 2010 /

Powered by Blogger

Subscribe to
Posts [Atom]