Brett Johnson <[email protected]> writes: > If we're going to get really picky on coding style in a Unix > Enthusiasts mailing list, keep your lines to 80 characters in length. > You have a few that go over considering your 8 space tabs.
I think the 80 column limit is a retarding relic. While I started feeling this way primarily during $dayjob's Java, with its sometimes verbose class names and propensity that things have MumbleFactories and MumbleFactoryFactories and MumbleProviders and MumbleProviderManagers and MumbleVerboseWhatnots … even going back and doing some gtk_modern_type_name_disambiguated_c lends itself to long names. And so much the better! Programming is hobbled by poor readability, and supr_trncatd_nms that offend both the eyes and the sensibilities. But brevity is a virtue. In any case, I prefer a loose limit around 100-120 chars for line length, taking the opportunity to break at the Correct¹ places. ¹ See me for the definition of "correct". ;) > set expandtab [inserts spaces instead of tabs] > set shiftwidth=3 [changes the number of spaces for indentation] > set tabstop=3 [tells vim how many spaces count for a tab] Odd numbers for tab stops are … odd. 4 or 2 seem like reasonable stops. Do you find 3 works particularly well for some reason? -- ...jsled http://asynchronous.org/ - a=jsled; b=asynchronous.org; echo $...@${b}
