Konstantin Levinski wrote:
I think I can help with explanation of why emacs behaves as it does,
and maybe you'd agree that it makes sense.
Now I understand it.
But it's hard to change habit.
Do you think the emacs way is better?
<tab> in emacs/ruby means (ruby-indent-command), which parses vicinity
of cursor and figures out correct identation. that is, it is not "add a
tab" but "format this line".
so to get desired result, you could just use 'end<tab>'
or call (indent-region) - Ctl-Alt-\ - to indent the whole thing in one
This way you dont need to care about formatting at all, it's done
How can I keep tabs instead of spaces?