On 27/04/05, Tilman Sauerbeck <tilman / code-monkey.de> wrote: > Brian Schröäer <ruby.brian / gmail.com> [2005-04-28 05:52]: > > Thank you all for your answers. I can imagine that vim is not too bad, > > after having tried it a bit. But until I find time to find out how to > > do: > > 1) Auto-Indent with Tab > > set sw=4 " no of spaces for indentation > set ts=4 " show \t as 4 spaces resp treat 4 spaces as a tab when > " deleting etc > set sts=0 " forgot what this sucker did ;) > set noexpandtab " don't expand tabs to spaces > Thanks for the fast reply, but I meant pressing tab to indent a line to the semantically correct level. Xemacs does a great job for ruby code. best regards, Brian PS: I'm not shure if this is the right group to discuss this as it is only marginally connected to ruby, if somebody is annoyed please speak up or ignore the thread. -- http://ruby.brian-schroeder.de/ multilingual _non rails_ ruby based vocabulary trainer: http://www.vocabulaire.org/ | http://www.gloser.org/ | http://www.vokabeln.net/