Mercurial > vim
diff runtime/doc/options.txt @ 5055:c458ff35497e
Updated runtime files.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Sat, 29 Jun 2013 23:05:20 +0200 |
parents | 7a2ffd685c0e |
children | 6ec6b7ff2d43 |
line wrap: on
line diff
--- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 7.3. Last change: 2013 Jun 26 +*options.txt* For Vim version 7.3. Last change: 2013 Jun 29 VIM REFERENCE MANUAL by Bram Moolenaar @@ -480,18 +480,19 @@ 3. If you start editing a new file, and *modeline* *vim:* *vi:* *ex:* *E520* There are two forms of modelines. The first form: - [text]{white}{vi:|vim:|Vim:|ex:}[white]{options} + [text]{white}{vi:|vim:|ex:}[white]{options} [text] any text or empty {white} at least one blank character (<Space> or <Tab>) -{vi:|vim:|Vim:|ex:} the string "vi:", "vim:", "Vim:" or "ex:" +{vi:|vim:|ex:} the string "vi:", "vim:" or "ex:" [white] optional white space {options} a list of option settings, separated with white space or ':', where each part between ':' is the argument for a ":set" command (can be empty) -Example: +Examples: vi:noai:sw=3 ts=6 ~ + vim: tw=77 ~ The second form (this is compatible with some versions of Vi): @@ -501,14 +502,16 @@ The second form (this is compatible with {white} at least one blank character (<Space> or <Tab>) {vi:|vim:|Vim:|ex:} the string "vi:", "vim:", "Vim:" or "ex:" [white] optional white space -se[t] the string "set " or "se " (note the space) +se[t] the string "set " or "se " (note the space); When + "Vim" is used it must be "set". {options} a list of options, separated with white space, which is the argument for a ":set" command : a colon [text] any text or empty -Example: +Examples: /* vim: set ai tw=75: */ ~ + /* Vim: set ai tw=75: */ ~ The white space before {vi:|vim:|Vim:|ex:} is required. This minimizes the chance that a normal word like "lex:" is caught. There is one exception: @@ -6751,7 +6754,8 @@ A jump table for the options with a shor V N Virtual column number as -{num}. Not displayed if equal to 'c'. p N Percentage through file in lines as in |CTRL-G|. P S Percentage through file of displayed window. This is like the - percentage described for 'ruler'. Always 3 in length. + percentage described for 'ruler'. Always 3 in length, unless + translated. a S Argument list status as in default title. ({current} of {max}) Empty if the argument file count is zero or one. { NF Evaluate expression between '%{' and '}' and substitute result.