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

Re: How to change indent in vim



In <[🔎] 32fag6xpln.ln2@news.roaima.co.uk>, Chris Davies wrote:
>Tabs
>are every 8 characters,

No they aren't.  Tabs have *never* been that simple.  Even on really old 
terminals and typewriters tab stops were adjustable.

The purpose of indenting with tabs is to allow others to choose their ideal 
level of horizontal white space.  If you don't care about other people, just 
use spaces.

>Once you've agreed with that philosophy,

Which already means you are either stupid or insane... ;) j/k

>change your indentation to 3
>(shiftwidth=3 or sw=3) and use Ctrl/T instead of Tab for indents. Use
>Ctrl/D for outdents. Use >> and << (possibly with a range) to shuffle
>a line (or range of lines) leftwards and rightwards.
>
>I'll even give you bonus points for remapping Ctrl/T to Tab in insert
>mode.

Down this way leads madness (and *way* too much horizontal whitespace).  
Seriously, 8 character tabs make things very difficult for me to read.
-- 
Boyd Stephen Smith Jr.           	 ,= ,-_-. =.
bss@iguanasuicide.net            	((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy 	 `-'(. .)`-'
http://iguanasuicide.net/        	     \_/

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: