turning off auto indent (or some features)
Submitted by Wednesday, 13 April, 2005 - 13:50
on
How do I turn off auto-indent? Or better yet just stop it reindenting a line after the fact (except when there is nothing on the line to begin with).
Specifically, I'm coding in ruby right now which only occasionally uses {}, but almost invariably does something I don't want as soon as I type "{". I don't ever want it to reindent a line when I type "{". I do want it to indent on lines a "{". I do want it to unindent on an empty line when I type "}".
If I can't get good behavior, I would rather just turn off auto-indent.
I just downloaded 4.3pre2 and am still having indent problems (as I always have, but it is more pronouced in Ruby code).
Specifically, I'm coding in ruby right now which only occasionally uses {}, but almost invariably does something I don't want as soon as I type "{". I don't ever want it to reindent a line when I type "{". I do want it to indent on lines a "{". I do want it to unindent on an empty line when I type "}".
If I can't get good behavior, I would rather just turn off auto-indent.
I just downloaded 4.3pre2 and am still having indent problems (as I always have, but it is more pronouced in Ruby code).