On 10/11/10 10:17, Baruch Siach wrote:
Hi Erez,
On Wed, Nov 10, 2010 at 10:08:32AM +0200, Erez D wrote:
thank you all for the reply
i decided to set ts,sw,et etc... in vimrc instead for security resons.
although this implicate all types of files, i can ususally overcome it
like pressing ^V-TAB in a makefile instead of a TAB
Or add the following to your .vimrc instead:
au FileType make set noexpandtab
THANK YOU!!!!
Now, I just need to see how to make vi disable tab expansion for C files
if, and only if, I am editing the Linux kernel source code....
Either way, I edit makefiles at the same time I am editing C/C++/Java
files, but when I'm editing kernel files, that's all I'm doing. As such,
this is a much less urgent matter for me.
Shachar
--
Shachar Shemesh
Lingnu Open Source Consulting Ltd.
http://www.lingnu.com
_______________________________________________
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il