 
	
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] RE: [Xen-ia64-devel] vimrc snippet
 >  " default to allowing tab characters
>  set noexpandtab
>
>  " detect settings of file being edited and change ours to match
>  autocmd BufReadPost  *.c,*.h
>  \ let foundtab = search('^\t\|^\( \{8}\)', 'cnpw') |
>  \ if foundtab == 1 | setlocal noexpandtab |
>  \ elseif foundtab == 2 | setlocal expandtab | endif
>
>I hope somebody finds that helpful. :-)
>
>Aron
>
Thanks a lot. It's really easy to use!
>_______________________________________________
>Xen-ia64-devel mailing list
>Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
>http://lists.xensource.com/xen-ia64-devel
_______________________________________________
Xen-ia64-devel mailing list
Xen-ia64-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ia64-devel
 
 | 
|  | Lists.xenproject.org is hosted with RackSpace, monitoring our |