vim q
Shachar Shemesh
shachar at shemesh.biz
Wed Nov 10 22:41:36 IST 2010
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
More information about the Linux-il
mailing list