[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tabs / was [OT] Coding w/ vim



On Mon, Jun 04, 2001 at 01:40:36PM -0500, will trillich wrote:
<snip>
| if you really go overboard
| overindendinting a really deep algorithm, you can always
| redefine tabs to be 3-wide, or 2-wide. don't have to revisit all
| those extraneous spaces.

http://www.new.ox.ac.uk/~adam/computing/why_no_tabs.html

http://www.amazon.com/exec/obidos/ASIN/0201485672/qid=991681716/sr=1-1/ref=sc_b_1/104-2779123-6407940

"Refactoring" by Martin Fowler :-).  A significant indent level (4 or
8 spaces) shows you when your code is bad because it is squished up
against the right edge of the the screen.

Or just check  :help retab  <grin>.  It changes the indentation level
automatically (it is a conversion between spaces and tabs).


-D



Reply to: