diff options
author | Bram Moolenaar <Bram@vim.org> | 2013-06-29 23:05:20 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2013-06-29 23:05:20 +0200 |
commit | 14b6945e27ca175a42550a6a887874303313c19e (patch) | |
tree | 5f1d7c2d0c312149824e980142ebe698ffaee166 /runtime/doc/options.txt | |
parent | 10315b1201716a10d39477fc09e3eb89e944191f (diff) | |
download | vim-git-14b6945e27ca175a42550a6a887874303313c19e.tar.gz |
Updated runtime files.
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r-- | runtime/doc/options.txt | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 535f51842..03a29a425 100644 --- 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 @@ to set options automatically for one or more files: *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 some versions of Vi): {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 short description can be found at |Q_op|. 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. |