Linda W wrote: > I thought the way to turn off modelines was set modelines=0
>From ":help 'modeline'" we learn that there are two options controlling >modelines; you need to enable both of them to enable modelines. I believe that has been the case for a long time: If 'modeline' is on 'modelines' gives the number of lines that is checked for set commands. If 'modeline' is off or 'modelines' is zero no lines are checked. Patch 7.0.237 changed Vim so the default for 'modeline' is off when running as root. I would worry about running as root with modelines enabled. Autocommands or filetypes perhaps could set the options you want (I would just map a key or make a command so I could easily set the options when wanted). John --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---