From: Joe Van Dyk Date: 2005-04-28T07:32:29+09:00 Subject: Re: vim-ruby broken? On 4/27/05, Brian Schr�der wrote: > On 27/04/05, Tilman Sauerbeck wrote: > > Brian Schr�der [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. Generally in vim, stuff just automatically indents itself correctly. If I type an "end", it'll put it in the correct place. No need to manually press tab or anything.