modeline documentation is misleading

121 views
Skip to first unread message

Bruno Bronosky

unread,
Apr 11, 2017, 11:31:52 AM4/11/17
to vim...@vim.org

The second form (this is compatible with some versions of Vi):



se[t] the string "set " or "se " (note the space); When
"Vim" is used it must be "set".


The first line came in with v7. The last line was added many (7+?) years later. I'd like to change the first line to say...


The second form (this is compatible with some pre-7.0 versions of Vi):



.!# BrunoBronosky #!.

Ben Fritz

unread,
Apr 13, 2017, 10:26:29 AM4/13/17
to vim_dev, vim...@vim.org

Vi is not the same as Vim. The second form works in all versions of Vim.

Tony Mechelynck

unread,
Apr 14, 2017, 4:26:09 PM4/14/17
to vim_dev, vim-dev
Both forms existed long before Vim 7: when I first used Vim (vim 6.1)
they already existed with the exact same help text, and I believe that
Vim 5 or earlier already had them too. "vi" in this paragraph means,
not "Vim when named vi" and not "vim when 'compatible' is set" but
"legacy vi, the earlier program, not by Bram Moolenaar". "pre-7.0" has
no meaning by respect to legacy vi, whose versioning system has
nothing in common with Vim's.

Best regards,
Tony.
Reply all
Reply to author
Forward
0 new messages