Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: question about vim

From: Andrei Popescu <andreimpopescu(at)gmail.com>
Date: Thu Feb 21 2008 - 01:50:37 EST


On Thu, Feb 21, 2008 at 10:46:03AM +1100, Alex Samad wrote:
> 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 ?

I'm just wondering, why don't you want the filetype? One of the reasons I started using vim was it's syntax highlighting.

> 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

For security reasons probably. Be careful what files you are loading.

Regards,
Andrei

-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

-- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Received on Thu Feb 21 01:51:04 2008

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 02:20:25 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library