--001636c5bdc44129ee04618601a4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Wed, Jan 28, 2009 at 5:06 AM, Robert Dober <robert.dober / gmail.com>wrote: > On Tue, Jan 27, 2009 at 10:06 PM, Tom Cloyd <tomcloyd / comcast.net> wrote: > This is really something ugly, biting me very often. Actually I > finished to define initialize as a keyword in my ruby mode on vim. And > if I type > def initalize ( my favorite misspelling ;) and it is not highlighted I > get warned immediately (this word is worse than initialize actually). > > Hopefully this idea helps some folk. > Nice. I use gedit with the snippets[1] plugin. I set up a "defi" tap trigger so that whenever I write "defi" and hit Tab, "def initialize end" will be inserted automatically. This way, I don't have to worry about misspelling "initialize" - which I did while writing this response! Can't live without a spell checker! :) Regards, Yaser [1]: http://live.gnome.org/Gedit/Plugins/Snippets --001636c5bdc44129ee04618601a4--