On Thu, Feb 21, 2008 at 10:29:59AM +1100, Alex Samad wrote: > Hi > > > I am a user of vim (learner). I have been getting caught out with the file > type setting of vim, sometimes it is good an other times it is a pain in the > but. > > I have done some reading about setting vim options in files. > > for example I am editing a makefile and I have placed this line at the bottom > > # vim:ft='' > > when I load up this file in vim and then execute set ft, it returns makefile, > which is not what I want, have I typed it wrong or is there some option that > I > need to set ? another look and I found what I was looking for, seems like modeline is turned off in debian, so I have added to my ~/.vimrc a set modeline
> > Thanks > > -- > "I think we are welcomed. But it was not a peaceful welcome." > > - George W. Bush > 12/12/05 > Philadelphia, PA > on the reception of American forces in Iraq -- "No question that the enemy has tried to spread sectarian violence. They use violence as a tool to do that." - George W. Bush 03/22/2006 Washington, DC
signature.asc
Description: Digital signature