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

vim question



Hi,
	talking about the C programming style, are we supposed to use
	tabstoplength=8 or softtabstop=2?

	I have always been using tabstoplength=8, but all the program src
	I got(mutt for example) all use the softtabstop=2.

	Anyway, I am quite happy with softtabstop=2. But I am wondering
	how do I set the cindent to use softtabstop=2. I have tried 

		set cino=>2, but this just put two spaces, so I have to
		press backspace twice when I want to go back.

	Thanks in advance.
Shao.
-- 
____________________________________________________________________________
Shao Zhang - Running Debian 2.1  ___ _               _____
Department of Communications    / __| |_  __ _ ___  |_  / |_  __ _ _ _  __ _ 
University of New South Wales   \__ \ ' \/ _` / _ \  / /| ' \/ _` | ' \/ _` |
Sydney, Australia               |___/_||_\__,_\___/ /___|_||_\__,_|_||_\__, |
Email: shao@cia.com.au                                                  |___/ 
_____________________________________________________________________________


Reply to: