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

Re: How to change indent in vim

In <[🔎] 20090610160715.GA22215@tomgeorge.info>, Thomas H. George wrote:
>I want indent set to 3, the default setting 8 uses up too much space.
>There is a plethora of information in /usr/share/vim/vim71 but it all
>seems to relate to turning indent on for various situations.  Somewhere
>there must be a simple line indent=8 that I can change but I haven't
>found it.

Your ~/.vimrc, ~/.virc, or ~/.exrc (the first one that exists) can be used 
to run any command each time vim is started.

Ben gives possibly correct commands.  Use ":help 'tabstop'" and ":help 
'shiftwidth'" from within vim to determine is those are the settings you 
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: