On Sat, Nov 11, 2017 at 08:40:21AM -0800, Ian Zimmerman wrote:
On 2017-11-10 13:02, Jon Steinhart wrote:
As an example, I abhor styles that say that
continuations of long
lines should be indented either an extra tab or right-aligned with the
first line.
Wait, so _how_ do you like continuations to be indented?
I do it like so
if ((super_long_name_that_some_idiot_thought_was_smart > 1) &&
(super_long_name_that_some_idiot_thought_was_smarter > 2)) {
something stupid here;
}
In my vi tab is a tab but shiftwidth is 4, and I map ^A to ^T (I think
that came from the editor on CPM), and I set autoindent.
So after the first line I hit
return
^A
(super....
return
tab
something...
return
^D
^D
}
just to add to the arcaneness of this endless thread :)