NetBSD-Bugs archive

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

Re: bin/60010: "expandtab" behaves counter-intuitively (and different from vim)



> I don't think this is a bug. Indenting is done with Control-T, not
> Control-I (TAB).  Inputting a TAB is done with the TAB key or with
> Control-I.  It would be counter-intuitive if TAB would produce spaces
> instead.
> 
> I think vim has gotten this wrong (among other things).

It just seems a ridiculous from a UI perspective.  Manual indenting is done *a lot*, and Control-T is simply not a convenient key combination (no matter where you keep your Control key) where as the Tab key is *right there* and I’d venture to guess that practically everyone instinctively hits Tab (unless you’re an emacs user, in which case you’re a lost cause :-).  (The subtext here is: “If I wanted to torture myself with bucky bits, I’d use emacs!”).  Having consistency in formatting should not require setting both ts and sw and overcoming decades of muscle memory to hit an awkward key combination.

-- thorpej



Home | Main Index | Thread Index | Old Index