Bugzilla – Bug 138195
Document the disabling of modelines in the Vim help files
Last modified: 2005-12-14 12:15:32 UTC
I spent some time trying to get modelines to work in Vim. According to the Vim documentation, by default modelines are on, so I was puzzled as to why they did not work. Finally I realized they had been disabled in /etc/vimrc for security reasons. It would be nice if this were noted in the Vim help files (at *'modeline'* and at *modeline*) so people would know the default in Vim has been changed by SUSE.
The first place to look for SUSE configuration changes (modelines is not the only one, there's many others) is /etc/vimrc. That's the only place it goes, otherwise we would have to change the help files for every option we change, and that's simply too much. Sorry.