Anton Sharonov wrote:
> What you need, is rather 'modeline' and not 'modelines'
>
> from :help 'modeline':
> *'modeline'* *'ml'* *'nomodeline'* *'noml'*
> 'modeline' 'ml' boolean (Vim default: on (off for root),
> Vi default: off)
> local to buffer
> *'modelines'* *'mls'*
>
> It's means, 'modeline' is off for root by default.
---
Wow, thanks....that's really _obscure_. Is that something
that's changed in the past few versions...say 7.0 or 6.x series?
I thought the way to turn off modelines was set modelines=0
This is even what the comment lines in the SuSE /etc/vimrc indicate
(i.e. these are the last lines of the default SuSE /etc/vimrc):
" Changed default required by SuSE security team--be aware if enabling this
" that it potentially can open for malicious users to do harmful things.
set modelines=0
" get easier to use and more user friendly vim defaults
" /etc/vimrc ends here
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---