modelines, ml default: nomodelines
If modelines is set, then the first 5 lines and the last five
lines of the file will be checked for ex command lines and the
comands issued. To be recognized as a command line, the line
must have the string ex: or vi: in it. This string may be any-
where in the line and anything after the : is interpeted as edi-
tor commands. This option defaults to off because of unexpected
behavior when editting files such as /etc/passwd.
modelines, ml default: nomodelines
If modelines is set, then the first 5 lines and the last five
lines of the file will be checked for ex command lines and the
comands issued. To be recognized as a command line, the line
must have the string ex: or vi: in it. This string may be any-
where in the line and anything after the : is interpeted as edi-
tor commands. This option defaults to off because of unexpected
behavior when editting files such as /etc/passwd.
Release 2/17/02
* POSIX.2: Backslash has no special meaning inside RE bracket expressions.
...
* Made modelines compatible to SVr4 ex: The option name is "modelines" or
"ml" now; a space or tab preceeding "ex:" or "vi:" is not required.
Release 2/17/02
* POSIX.2: Backslash has no special meaning inside RE bracket expressions.
...
* Made modelines compatible to SVr4 ex: The option name is "modelines" or
"ml" now; a space or tab preceeding "ex:" or "vi:" is not required.
SevnSven Guckes' list of vi options says modelines was supported by SVR3.1 vi, but not which format. I'd wager it would be the vi:...
/ex:...
second form.