home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / vim53os2.zip / vim-5.3 / doc / options.txt < prev    next >
Text File  |  1998-08-30  |  154KB  |  3,521 lines

  1. *options.txt*   For Vim version 5.3.  Last modification: 1998 Aug 29
  2.  
  3.  
  4.           VIM REFERENCE MANUAL    by Bram Moolenaar
  5.  
  6.  
  7. Options                            *options*
  8.  
  9. 1. Setting options            |set-option|
  10. 2. Automatically setting options    |auto-setting|
  11. 3. Saving settings            |save-settings|
  12. 4. Options summary            |option-summary|
  13.  
  14. For an overview of options see help.txt |option-list|.
  15.  
  16. Vim has a number of internal variables and switches which can be set to
  17. achieve special effects.  These options come in three forms:
  18.     boolean        can only be on or off        *boolean* *toggle*
  19.     number        has a numeric value
  20.     string        has a string value
  21.  
  22. ==============================================================================
  23. 1. Setting options                    *set-option*
  24.  
  25.                             *:se* *:set*
  26. :se[t]            Show all options that differ from their default value.
  27.  
  28. :se[t] all        Show all but terminal options.
  29.  
  30. :se[t] termcap        Show all terminal options.
  31.  
  32. :se[t] {option}?    Show value of {option}.
  33.  
  34. :se[t] {option}        Toggle option: set, switch it on.
  35.             Number option: show value.
  36.             String option: show value.
  37.  
  38. :se[t] no{option}    Toggle option: Reset, switch it off.
  39.  
  40. :se[t] {option}!   or
  41. :se[t] inv{option}    Toggle option: Invert value.  {not in Vi}
  42.  
  43. :se[t] {option}&    Reset option to its default value.  {not in Vi}
  44.  
  45. :se[t] all&        Set all options, except terminal options, to their
  46.             default value.  The values of 'term', 'lines' and
  47.             'columns' are not changed  {not in Vi}
  48.  
  49. :se[t] {option}={value}        or
  50. :se[t] {option}:{value}
  51.             Set string or number option to {value}.  For numeric
  52.             options the value can be given in decimal, hex
  53.             (preceded with 0x) or octal (preceded with '0')
  54.             (hex and octal are only available for machines which
  55.             have the strtol() function).  The old value can be
  56.             inserted by typing <Tab> (or whatever the value of
  57.             'wildchar' is).  See |cmdline-completion|.
  58.             See |option-backslash| for using backslashes in
  59.             {value}.
  60.  
  61. :se[t] {option}+={value}                *:set+=*
  62.             Add the {value} to a number option, or concatenate the
  63.             {value} to a string option.  When the option is a
  64.             comma separated list, a comma is added, unless the
  65.             value was empty.
  66.  
  67. :se[t] {option}^={value}                *:set^=*
  68.             Multiply the {value} to a number option, or
  69.             prepend the {value} to a string option.  When the
  70.             option is a comma separated list, a comma is added,
  71.             unless the value was empty.
  72.  
  73. :se[t] {option}-={value}                *:set-=*
  74.             Subtract the {value} from a number option, or remove
  75.             the {value} from a string option, if it is there.
  76.             If the {value} is not found in a string option, there
  77.             is no error or warning.  When the option is a comma
  78.             separated list, a comma is deleted, unless the option
  79.             becomes empty.
  80.  
  81. The {option} arguments to ":set" may be repeated.  For example:
  82. >  :set ai nosi sw=3 ts=3
  83. If you make an error in one of the arguments, an error message will be given
  84. and the following arguments will be ignored.
  85.  
  86. For {option} the form "t_xx" may be used to set a termcap option.  This will
  87. override the value from the termcap.  You can then use it in a mapping.  If
  88. the "xx" part contains special characters, use the <t_xx> form:
  89.     :set <t_#4>=^[Ot
  90.  
  91. The listing from ":set" looks different from Vi.  Long string options are put
  92. at the end of the list.  The number of options is quite large.  The output of
  93. "set all" probably does not fit on the screen, causing Vim to give the
  94. |more-prompt|.
  95.  
  96.                             *option-backslash*
  97. To include white space in a string option value it has to be preceded with a
  98. backslash.  To include a backslash you have to use two.  Effectively this
  99. means that the number of backslashes in an option value is halved (rounded
  100. down).
  101. A few examples:
  102. >  :set tags=tags\ /usr/tags        results in "tags /usr/tags"
  103. >  :set tags=tags\\,file        results in "tags\,file"
  104. >  :set tags=tags\\\ file        results in "tags\ file"
  105.  
  106. For MS-DOS and WIN32 backslashes in file names are mostly not removed.  More
  107. precise: For options that expect a file name (those where environment
  108. variables are expanded) a backslash before a normal file name character is not
  109. removed.  But a backslash before a special character (space, backslash, comma,
  110. etc.) is used like explained above.
  111.  
  112.                 *add-option-flags* *remove-option-flags*
  113. Some options are a list of flags.  When you want to add a flag to such an
  114. option, without changing the existing ones, you can do it like this:
  115. >  :set guioptions+=a
  116. Remove a flag from an option like this:
  117. >  :set guioptions-=a
  118. This removes the 'a' flag from 'guioptions'.
  119.  
  120.                *:set_env* *expand-env* *expand-environment-var*
  121. Environment variables in most string options will be expanded.  If the
  122. environment variable exists the '$' and the following environment variable
  123. name is replaced with its value.  If it does not exist the '$' and the name
  124. are not modified.  Any non-id character (not a letter, digit or '_') may
  125. follow the environment variable name.  That character and what follows is
  126. appended to the value of the environment variable.  Examples:
  127. >  :set term=$TERM.new
  128. >  :set path=/usr/$INCLUDE,$HOME/include,.
  129.  
  130.                                 *$HOME*
  131. Using "~" is like using "$HOME", but it is only recognized at the start of an
  132. option and after a space or comma.
  133.  
  134. On Unix systems "~user" can be used too.  It is replaced by the home directory
  135. of user "user".  Example:
  136. >   :set path=~mool/include,/usr/include,.
  137.  
  138. On Unix systems the form "${HOME}" can be used too.  The name between {} can
  139. contain non-id characters then.  Note that if you want to use this for the
  140. "gf" command, you need to add the '{' and '}' characters to 'isfname'.
  141.  
  142.                                 *$VIM*
  143. The environment variable "$VIM" is used to locate various support files, such
  144. as the on-line documentation and files used for syntax highlighting.  For
  145. example, the main help file is normally "$VIM/doc/help.txt".
  146.  
  147. To avoid the need for every user to set the $VIM environment variable, Vim
  148. will try to get the value for $VIM in this order:
  149. 1. The value defined by the $VIM environment variable.  You can use this to
  150.    make Vim look in a specific directory for its support files.  Example:
  151. >    setenv VIM /home/paul/vim
  152. 2. For MSDOS and Win32 the environment variable $HOME is used, when defined.
  153.    Works just like setting the $VIM environment variable.
  154. 3. The path from 'helpfile' is used, unless it contains some environment
  155.    variable too (the default is "$VIM/doc/help.txt": chicken-egg problem).
  156.    The file name ("help.txt" or any other) is removed.  If it then ends in
  157.    "/doc", this is removed too.
  158. 4. For MSDOS, Win32 and OS/2 Vim tries to use the directory name of the
  159.    executable.  If it ends in "/src", this is removed.  This is useful if you
  160.    unpacked the .zip file in some directory, and adjusted the search path to
  161.    find the vim executable.
  162. 5. For Unix the compile-time defined installation directory is used (see the
  163.    output of ":version").
  164.  
  165. Note the maximum length of an expanded option is limited.  How much depends on
  166. the system, mostly it is something like 256 or 1024 characters.
  167.  
  168.                             *:fix* *:fixdel*
  169. :fix[del]        Set the value of 't_kD':
  170.                 't_kb' is     't_kD' becomes    ~
  171.                   CTRL-?    CTRL-H
  172.                 not CTRL-?    CTRL-?
  173.  
  174.             (CTRL-? is 0177 octal, 0x7f hex) {not in Vi}
  175.  
  176.             If your delete key terminal code is wrong, but the
  177.             code for backspace is allright, you can put this in
  178.             your .vimrc:
  179. >                :fixdel
  180.             This works no matter what the actual code for
  181.             backspace is.
  182.  
  183.             If the backspace key terminal code is wrong you can
  184.             use this:
  185. >                :if &term == "termname"
  186. >                :  set t_kb=^V<BS>
  187. >                :  fixdel
  188. >                :endif
  189.             Where "^V" is CTRL-V and "<BS>" is the backspace key
  190.             (don't type four characters!).  Replace "termname"
  191.             with your terminal name.
  192.  
  193.             If your <Delete> key sends a strange key sequence (not
  194.             CTRL-? or CTRL-H) you cannot use ":fixdel".  Then use:
  195. >                :if &term == "termname"
  196. >                :  set t_kD=^V<Delete>
  197. >                :endif
  198.             Where "^V" is CTRL-V and "<Delete>" is the delete key
  199.             (don't type eight characters!).  Replace "termname"
  200.             with your terminal name.
  201.  
  202.             Note about Linux: By default the backspace key
  203.             produces CTRL-?, which is wrong.  You can fix it by
  204.             putting this line in your rc.local:
  205. >                echo "keycode 14 = BackSpace" | loadkeys
  206.  
  207. ==============================================================================
  208. 2. Automatically setting options            *auto-setting*
  209.  
  210. Besides changing options with the ":set" command, there are three alternatives
  211. to set options automatically for one or more files:
  212.  
  213. 1. When starting Vim initializations are read from various places.  See
  214.    |initialization|.  Most of them are performed for all editing sessions,
  215.    and some of them depend on the directory where Vim is started.
  216. 2. If you start editing a new file, the automatic commands are executed.
  217.    This can be used to set options for files matching a particular pattern and
  218.    many other things.  See |autocommand|.
  219. 3. If you start editing a new file, and the 'modeline' option is on, a
  220.    number of lines at the beginning and end of the file are checked for
  221.    modelines.  This is explained here.
  222.  
  223.                             *modeline*
  224. There are two forms of modelines.  The first form:
  225.     [text]{white}{vi:|vim:|ex:}[white]{options}
  226.  
  227. [text]        any text or empty
  228. {white}        at least one white space (<Space> or <Tab>)
  229. {vi:|vim:|ex:}    the string "vi:", "vim:" or "ex:"
  230. [white]        optional white space
  231. {options}    a list of option settings, separated with white space or ':',
  232.         where each part between ':' is the argument for a ":set"
  233.         command
  234.  
  235. Example:
  236. >  vi:noai:sw=3 ts=6
  237.  
  238. The second form (this is compatible with some versions of Vi):
  239.  
  240.     [text]{white}{vi:|vim:|ex:}[white]set {options}:[text]
  241.  
  242. [text]        any text or empty
  243. {white}        at least one white space (<Space> or <Tab>)
  244. {vi:|vim:|ex:}    the string "vi:", "vim:" or "ex:"
  245. [white]        optional white space
  246. set        the string "set " (note the space)
  247. {options}    a list of options, separated with white space, which is the
  248.         argument for a ":set" command
  249. :        a colon
  250. [text]        any text or empty
  251.  
  252. Example:
  253. >  /* vim: set ai tw=75: */
  254.  
  255. The white space before {vi:|vim:|ex:} is required.  This minimizes the chance
  256. that a normal word like "lex:" is caught.  There is one exception: "vi:" and
  257. "vim:" can also be at the start of the line (for compatibility with version
  258. 3.0).  Using "ex:" at the start of the line will be ignored (this could be
  259. short for "example:").
  260.  
  261. The number of lines that are checked can be set with the 'modelines' option.
  262. If 'modeline' is off or 'modelines' is 0 no lines are checked.
  263.  
  264. Note that for the first form all of the rest of the line is used, thus a line
  265. like:
  266. >  /* vi:ts=4: */
  267. will give an error message for the trailing "*/".  This line is OK:
  268. >  /* vi:set ts=4: */
  269.  
  270. If an error is detected the rest of the line is skipped.
  271.  
  272. If you want to include a ':' in a set command precede it with a '\'.  No other
  273. commands than "set" are supported, for security reasons (somebody might create
  274. a Trojan horse text file with modelines).
  275.  
  276. ==============================================================================
  277. 3. Saving settings                    *save-settings*
  278.  
  279.                             *:mk* *:mkexrc*
  280. :mk[exrc] [file]    Write current key mappings and changed options to
  281.             [file] (default ".exrc" in the current directory),
  282.             unless it already exists.  {not in Vi}
  283.  
  284. :mk[exrc]! [file]    Always write current key mappings and changed
  285.             options to [file] (default ".exrc" in the current
  286.             directory).  {not in Vi}
  287.  
  288.                             *:mkv* *:mkvimrc*
  289. :mkv[imrc][!] [file]    Like as :mkexrc, but default is ".vimrc" in the
  290.             current directory.  The ":version" command is also
  291.             written to the file.  {not in Vi}
  292.  
  293.                             *:mks* *:mksession*
  294. :mks[ession][!] [file]    Like :mkvimrc, but write commands to the end of the
  295.             file that reload the files being edited at the time of
  296.             the command.  {not in Vi}
  297.  
  298. These commands will write ":map" and ":set" commands to a file, in such a way
  299. that when these commands are executed, the current key mappings and options
  300. will be set to the same values.  The options 'columns', 'endofline', 'lines',
  301. 'modified', 'scroll', 'term' and 'ttyfast' are not included, because these are
  302. terminal or file dependent.  Note that the options 'binary', 'fileformat',
  303. 'paste' and 'readonly' are included, this might not always be what you want.
  304.  
  305. When special keys are used in mappings, The 'cpoptions' option will be
  306. temporarily made empty, to avoid the mappings to be misinterpreted.  This
  307. makes the file incompatible with Vi, but makes sure it can be used with
  308. different terminals.
  309.  
  310. A common method is to use a default ".vimrc" file, make some modifications
  311. with ":map" and ":set" commands and write the modified file.  First read the
  312. default ".vimrc" in with a command like ":source ~piet/.vimrc.Cprogs", change
  313. the settings and then save them in the current directory with ":mkvimrc!".  If
  314. you want to make this file your default .vimrc, move it to your home directory
  315. (on Unix), s: (Amiga) or $VIM directory (MS-DOS).  You could also use
  316. autocommands |autocommand| and/or modelines |modeline|.
  317.  
  318. If you only want to add a single option setting to your vimrc, you can use
  319. these steps:
  320. 1. Edit your vimrc file with Vim.
  321. 2. Play with the option until it's right.  E.g., try out different values for
  322.    'guifont'.
  323. 3. Append a line to set the value of the option, using the expression register
  324.    '=' to enter the value.  E.g., for the 'guifont' option:
  325. >  o:set guifont=<C-R>=&guifont<CR><Esc>
  326.    [<C-R> is a CTRL-R, <CR> is a return, <Esc> is the escape key]
  327.  
  328. Note that when you create a .vimrc file, this can influence the 'compatible'
  329. option, which has several side effects.  See |'compatible'|.
  330. ":mkvimrc", ":mkexrc" and ":mksession" write the command to set or reset the
  331. 'compatible' option to the output file first, because of these side effects.
  332.  
  333. The output of ":mksession" is the same as ":mkvimrc", but additional commands
  334. are added to the file.  This depends on the 'sessionoptions' option.  The
  335. resulting file, when executed with a ":source" command:
  336. 1. Restores mappings and options, if 'sessionoptions' contains "options".
  337. 2. Unloads all currently loaded buffers.
  338. 3. Restores the working directory.
  339. 4. Restores screen height, if 'sessionoptions' contains "resize".
  340. 5. Reloads the files you were editing, at the lines where you left them.
  341. 6. Restores windows, if 'sessionoptions' contains "winsize".
  342.    If the Vim window size has been restored or is already the same as in the
  343.    loaded session, the window sizes are restored exactly. Otherwise, the
  344.    windows are just given sensible sizes
  345. 7. If a file exists with the same name as the session file, but ending in
  346.    "x.vim" (for eXtra), executes that as well. You can use x.vim files to
  347.    specify additional settings and actions associated with a given session,
  348.    such as creating menu items in the GUI version.
  349. You can thus use session files to quickly switch between different projects,
  350. automatically loading the files you were last working on in that project.
  351. The full filename of your current session is available in the internal
  352. variable "this_session".  See |this_session-variable|.
  353. So an example mapping might be (all one line):
  354. >  :nmap <S-F1> :wa | execute("mksession " . this_session)<CR>:so $VIM/sessions/
  355. which saves the files and session, and starts off the command to load another.
  356.  
  357. ==============================================================================
  358. 4. Options summary                    *option-summary*
  359.  
  360. In the list below all the options are mentioned with their full name and with
  361. an abbreviation if there is one.  Both forms may be used.
  362.  
  363. In this document when a boolean option is "set" that means that ":set option"
  364. is entered.  When an option is "reset", ":set nooption" is used.
  365.  
  366. For some options there are two default values: The "Vim default", which is
  367. used when 'compatible' is not set, and the "Vi default", which is used when
  368. 'compatible' is set.
  369.  
  370. Most options are the same in all windows and buffers.  There are a few that
  371. are specific to how the text is presented in a window.  These can be set to a
  372. different value in each window.  For example the 'list' option can be set in
  373. one window and reset in another for the same text, giving both types of view
  374. at the same time.  There are a few options that are specific to a certain
  375. file.  These can have a different value for each file or buffer.  For example
  376. the 'textwidth' option can be 78 for a normal text file and 0 for a C
  377. program.
  378.  
  379.     global            one option for all buffers and windows
  380.     local to window        each window has its own copy of this option
  381.     local to buffer        each buffer has its own copy of this option
  382.  
  383. When creating a new window the option values from the currently active window
  384. are used as a default value for the window-specific options.  For the
  385. buffer-specific options this depends on the 's' and 'S' flags in the
  386. 'cpoptions' option.  If 's' in included (which is the default) the values for
  387. buffer options are copied from the currently active buffer when a buffer is
  388. first entered.  If 'S' is present the options are copied each time the buffer
  389. is entered, this is almost like having global options.  If 's' and 'S' are not
  390. present, the options are copied from the currently active buffer when the
  391. buffer is created.
  392.  
  393. A jump table for the options with a short description can be found at |X_op|.
  394.  
  395.                     *'aleph'* *'al'*
  396. 'aleph' 'al'        number    (default 128 for MS-DOS, 224 otherwise)
  397.             global
  398.             {not in Vi}
  399.             {only available when compiled with the |+rightleft|
  400.             feature}
  401.     The ASCII code for the first letter of the Hebrew alphabet.  The
  402.     routine that maps the keyboard in Hebrew mode, both in Insert mode
  403.     (when hkmap is set) and on the command-line (when hitting CTRL-_)
  404.     outputs the Hebrew characters in the range [aleph..aleph+26].
  405.     aleph=128 applies to PC code, and aleph=224 applies to ISO 8859-8.
  406.     See |rightleft.txt|.
  407.  
  408.             *'allowrevins'* *'ari'* *'noallowrevins'* *'noari'*
  409. 'allowrevins' 'ari'    boolean    (default off)
  410.             global
  411.             {not in Vi}
  412.             {only available when compiled with the |+rightleft|
  413.             feature}
  414.     Allow CTRL-_ in Insert and Command-line mode.  This is default off, to
  415.     avoid that users that accidentally type CTRL-_ instead of SHIFT-_ get
  416.     into reverse Insert mode, and don't know how to get out.  See
  417.     'revins'.  This option is reset when 'compatible' is set.
  418.  
  419.              *'altkeymap'* *'akm'* *'noalkeymap'* *'noakm'*
  420. 'altkeymap' 'akm'    boolean (default off)
  421.             global
  422.             {not in Vi}
  423.             {only available when compiled with the |+farsi|
  424.             feature}
  425.     When on, the second language is Farsi. In editing mode CTRL-_ toggles
  426.     the keyboard map between Farsi and English, when 'allowrevins' set.
  427.  
  428.     When off, the keyboard map toggles between Hebrew and English. This
  429.     is useful to start the vim in native mode i.e. English (left-to-right
  430.     mode) and have default second language Farsi or Hebrew (right-to-left
  431.     mode).  See |farsi.txt|.
  432.  
  433.                    *'autoindent'* *'ai'* *'noautoindent'* *'noai'*
  434. 'autoindent' 'ai'    boolean    (default off)
  435.             local to buffer
  436.     Copy indent from current line when starting a new line (typing <CR>
  437.     in Insert mode or when using the "o" or "O" command).  If you do not
  438.     type anything on the new line except <BS> and then type <Esc> or
  439.     <CR>, the indent is deleted again.  When autoindent is on,
  440.     formatting (with the "gq" command or when you reach 'textwidth' in
  441.     Insert mode) uses the indentation of the first line.   When
  442.     'smartindent' or 'cindent' is on the indent is changed in specific
  443.     cases.  The 'autoindent' option is reset when the 'paste' option is
  444.     set.  {small difference from Vi: After the indent is deleted when
  445.     typing <Esc> or <CR>, the cursor position when moving up or down is
  446.     after the deleted indent; Vi puts the cursor somewhere in the deleted
  447.     indent}.
  448.  
  449.                  *'autowrite'* *'aw'* *'noautowrite'* *'noaw'*
  450. 'autowrite' 'aw'    boolean    (default off)
  451.             global
  452.     Write the contents of the file, if it has been modified, on each
  453.     :next, :rewind, :previous, :stop, :suspend, :tag, :!, :make, CTRL-]
  454.     and CTRL-^ command; and when a CTRL-O, CTRL-I, '<A-Z0-9>, or `<A-Z0-9>
  455.     command takes one to another file.
  456.  
  457.                             *'background'* *'bg'*
  458. 'background' 'bg'    string    (default "dark" or "light")
  459.             global
  460.             {not in Vi}
  461.     When set to "dark", Vim will try to use colors that look good on a
  462.     dark background.  When set to "light", Vim will try to use colors that
  463.     look good on a light background.  Any other value is illegal.
  464.     Vim tries to set the default value according to the terminal used.
  465.     This will not always be correct.
  466.     When starting the GUI, the default value for 'background' will be
  467.     "light".  When the value is not set in the .gvimrc, and Vim detects
  468.     that the background is actually quite dark, 'background' is set to
  469.     "dark".  But this happens only AFTER the .gvimrc file has been read
  470.     (because the window needs to be opened to find the actual background
  471.     color).  To get around this, force the GUI window to be opened by
  472.     putting a ":gui" command in the .gvimrc file, before where the value
  473.     of 'background' is used (e.g., before ":syntax on").
  474.     For the Win32 GUI, setting 'background' before starting the GUI, will
  475.     change the background and foreground colors to lightgrey on black or
  476.     black on white.  On other systems setting 'background' does not
  477.     change the foreground or background colors.
  478.     Normally this option would be set in the .vimrc file.  Possibly
  479.     depending on the terminal name.  Example:
  480. >        if &term == "pcterm"
  481. >          set background=dark
  482. >        endif
  483.     When this option is set, the default settings for the highlight groups
  484.     will change.  To use other settings, place ":highlight" commands AFTER
  485.     the setting of the 'background' option.
  486.     This option is also used in the "$VIM/syntax/syntax.vim" file to
  487.     select the colors for syntax highlighting.  After changing this
  488.     option, you must load syntax.vim again to see the result.  This can be
  489.     done with ":syntax on".
  490.  
  491.                             *'backspace'* *'bs'*
  492. 'backspace' 'bs'    number    (default 0)
  493.             global
  494.             {not in Vi}
  495.     Influences the working of <BS>, <Del>, CTRL-W and CTRL-U in Insert
  496.     mode:
  497.     value    effect  ~
  498.       0    Vi compatible backspacing is used.
  499.       1    allow backspacing over <EOL>s.
  500.       2    allow backspacing over the start of insert.  CTRL-W and CTRL-U
  501.         stop once at the start of insert.
  502.     See |:fixdel| if your <BS> or <Del> key does not do what you want.
  503.  
  504.                        *'backup'* *'bk'* *'nobackup'* *'nobk'*
  505. 'backup' 'bk'        boolean    (default off)
  506.             global
  507.             {not in Vi}
  508.     Make a backup before overwriting a file.  Leave it around after the
  509.     file has been successfully written.  If you do not want to keep the
  510.     backup file, but you do want a backup while the file is being
  511.     written, reset this option and set the 'writebackup' option (this is
  512.     the default).  If you do not want a backup file at all reset both
  513.     options (use this if your file system is almost full).  See the
  514.     |backup-table| for more explanations.
  515.  
  516.                         *'backupdir'* *'bdir'*
  517. 'backupdir' 'bdir'    string    (default for Amiga: ".,t:",
  518.                  for MS-DOS and Win32: ".,c:/tmp,c:/temp"
  519.                  for Unix: ".,~/tmp,~/")
  520.             global
  521.             {not in Vi}
  522.     List of directories for the backup file, separated with commas.
  523.     - The backup file will be created in the first directory in the list
  524.       where this is possible.
  525.     - Empty means that no backup file will be created ('patchmode' is
  526.       impossible!).
  527.     - A directory "." means to put the backup file in the same directory
  528.       as the edited file.
  529.     - A directory starting with "./" (or ".\" for MS-DOS et.al.) means to
  530.       put the backup file relative to where the edited file is.  The
  531.       leading "." is replaced with the path name of the edited file.
  532.     - Spaces after the comma are ignored, other spaces are considered part
  533.       of the directory name.  To have a space at the start of a directory
  534.       name, precede it with a backslash.
  535.     - To include a comma in a directory name precede it with a backslash.
  536.     - A directory name may end in an '/'.
  537.     - Environment variables are expanded |:set_env|.
  538.     - Careful with '\' characters, type one before a space, type two to
  539.       get one in the option (see |option-backslash|), for example:
  540. >        :set bdir=c:\\tmp,\ dir\\,with\\,commas,\\\ dir\ with\ spaces
  541.     - For backwards compatibility with Vim version 3.0 a '>' at the start
  542.       of the option is removed.
  543.     See also 'backup' and 'writebackup' options.
  544.     The use of |:set+=| and |:set-=| is preferred when adding or removing
  545.     directories from the list.  This avoids problems when a future version
  546.     uses another default.
  547.  
  548.                         *'backupext'* *'bex'*
  549. 'backupext' 'bex'    string    (default "~", for VMS: "_")
  550.             global
  551.             {not in Vi}
  552.     String which is appended to a file name to make the name of the
  553.     backup file.  The default is quite unusual, because this avoids
  554.     accidentally overwriting existing files with a backup file.  You might
  555.     prefer using ".bak", but make sure that you don't have files with
  556.     ".bak" that you want to keep.
  557.  
  558.                      *'binary'* *'bin'* *'nobinary'* *'nobin'*
  559. 'binary' 'bin'        boolean    (default off)
  560.             local to buffer
  561.             {not in Vi}
  562.     This option should be set before editing a binary file.  You can also
  563.     use the "-b" Vim argument.  When this option is switched on a few
  564.     options will be changed (also when it already was on):
  565.         'textwidth'  will be set to 0
  566.         'wrapmargin' will be set to 0
  567.         'modeline'   will be off
  568.         'expandtab'  will be off
  569.     Also, 'fileformat' and 'fileformats' options will not be used, the
  570.     file is read and written like 'fileformat' was "unix" (a single <NL>
  571.     separates lines).
  572.     NOTE: When you start editing a(nother) file while the 'bin' option is
  573.     on, settings from autocommands may change the settings again (e.g.,
  574.     'textwidth'), causing trouble when editing.  You might want to set
  575.     'bin' again when the file has been loaded.
  576.     The previous values of these options are remembered and restored when
  577.     'bin' is switched from on to off.  Each buffer has its own set of
  578.     saved option values.
  579.     When writing a file the <EOL> for the last line is only written if
  580.     there was one in the original file (normally Vim appends an <EOL> to
  581.     the last line if there is none; this would make the file longer).  See
  582.     the 'endofline' option.
  583.  
  584.                    *'bioskey'* *'biosk'* *'nobioskey'* *'nobiosk'*
  585. 'bioskey' 'biosk'    boolean    (default on)
  586.             global
  587.             {not in Vi}  {only for MS-DOS}
  588.     When on the bios is called to obtain a keyboard character.  This works
  589.     better to detect CTRL-C, but only works for the console.  When using a
  590.     terminal over a serial port reset this option.
  591.  
  592.                         *'breakat'* *'brk'*
  593. 'breakat' 'brk'        string    (default " ^I!@*-+_;:,./?")
  594.             global
  595.             {not in Vi}
  596.     This option lets you choose which characters might cause a line
  597.     break if 'linebreak' is on.
  598.  
  599.                         *'browsedir'* *'bsdir'*
  600. 'browsedir' 'bsdir'    string    (default for "last")
  601.             global
  602.             {not in Vi} {only for Motif and Win32 GUI}
  603.     Which directory to use for the file browser:
  604.        last        Use same directory as with last file browser.
  605.        buffer    Use the directory of the related buffer.
  606.        current    Use the current directory.
  607.  
  608.                    *'cindent'* *'cin'* *'nocindent'* *'nocin'*
  609. 'cindent' 'cin'        boolean    (default off)
  610.             local to buffer
  611.             {not in Vi}
  612.             {not available when compiled without the |+cindent|
  613.             feature}
  614.     Enables automatic C program indenting  See 'cinkeys' to set the keys
  615.     that trigger reindenting in insert mode and 'cinoptions' to set your
  616.     preferred indent style.  If 'lisp' is not on and 'equalprg' is empty,
  617.     the "=" operator indents using this algorithm rather than calling an
  618.     external program.  See |C-indenting|.  This option is switched off
  619.     when 'paste' is set.  When you don't like the way 'cindent' works, try
  620.     the 'smartindent' option.
  621.  
  622. 'cinkeys' 'cink'    string    (default "0{,0},:,0#,!^F,o,O,e")
  623.             local to buffer
  624.             {not in Vi}
  625.             {not available when compiled without the |+cindent|
  626.             feature}
  627.     A list of keys that, when typed in insert mode, cause reindenting of
  628.     the current line.  Only happens if 'cindent' is on.  See
  629.     |C-indenting|.
  630.  
  631.                         *'cinoptions'* *'cino'*
  632. 'cinoptions' 'cino'    string    (default "")
  633.             local to buffer
  634.             {not in Vi}
  635.             {not available when compiled without the |+cindent|
  636.             feature}
  637.     The 'cinoptions' affect the way 'cindent' reindents lines in a C
  638.     program.  See |cinoptions-values| for the values of this option, and
  639.     |C-indenting| for info on C indenting in general.
  640.  
  641.  
  642.                         *'cinwords'* *'cinw'*
  643. 'cinwords' 'cinw'    string    (default "if,else,while,do,for,switch")
  644.             local to buffer
  645.             {not in Vi}
  646.             {not available when compiled without both the
  647.             |+cindent| and the |+smartindent| features}
  648.     These keywords start an extra indent in the next line when
  649.     'smartindent' or 'cindent' is set.  For 'cindent' this is only done at
  650.     an appropriate place (inside {}).
  651.  
  652.                         *'cmdheight'* *'ch'*
  653. 'cmdheight' 'ch'    number    (default 1)
  654.             global
  655.             {not in Vi}
  656.     Number of lines to use for the command-line.  Helps avoiding
  657.     |hit-return| prompts.
  658.  
  659.                         *'columns'* *'co'*
  660. 'columns' 'co'        number    (default 80 or terminal width)
  661.             global
  662.             {not in Vi}
  663.     Number of columns of the screen.  Normally this is set by the terminal
  664.     initialization and does not have to be set by hand.
  665.  
  666.                         *'comments'* *'com'*
  667. 'comments' 'com'    string    (default
  668.                 "sr:/*,mb:*,el:*/,://,b:#,:%,:XCOMM,n:>,fb:-")
  669.             local to buffer
  670.             {not in Vi}
  671.     A comma separated list of strings that can start a comment line.  See
  672.     |format-comments|.  See |option-backslash| about using backslashes to
  673.     insert a space.
  674.  
  675.                    *'compatible'* *'cp'* *'nocompatible'* *'nocp'*
  676. 'compatible' 'cp'    boolean    (default on, off when a .vimrc file is found)
  677.             global
  678.             {not in Vi}
  679.     This option has the function of making Vim either more Vi-compatible,
  680.     or behave in a more useful way.  This is a special kind of option,
  681.     because when it's set or reset, other options are also changed as a
  682.     side effect.  CAREFUL: Setting or resetting this option can have a lot
  683.     of unexpected effects: Mappings are interpreted in another way, undo
  684.     behaves differently, etc.
  685.     By default this option is on and the Vi defaults are used for the
  686.     options.  This default was chosen for those people who want to use Vim
  687.     just like Vi, and don't even (want to) know about the 'compatible'
  688.     option.
  689.     When a ".vimrc" file is found while Vim is starting up, this option is
  690.     switched off, and all options that have not been modified will be set
  691.     to the Vim defaults.  Effectively, this means that when a ".vimrc"
  692.     file exists, Vim will use the Vim defaults, otherwise it will use the
  693.     Vi defaults.  Also see |compatible-default|.
  694.     You can also set this option with the "-C" argument, and reset it with
  695.     "-N".  See |-C| and |-N|.
  696.     Switching this option off makes the Vim defaults be used for options
  697.     that have a different Vi and Vim default value.  See the options
  698.     marked with a '+' below.  Other options are not modified.
  699.     At the moment this option is set, several other options will be set
  700.     or reset to make Vim as Vi-compatible as possible.  See the table
  701.     below.  This can be used if you want to revert to Vi compatible
  702.     editing.
  703.     See also 'cpoptions'.
  704.  
  705.     option        + set value    effect    ~
  706.  
  707.     'allowrevins'      off        no CTRL-_ command
  708.     'backspace'      0        normal backspace
  709.     'backup'      off        no backup file
  710.     'cindent'      off        no C code indentation
  711.     'cpoptions'    + (all flags)    Vi-compatible flags
  712.     'digraph'      off        no digraphs
  713.     'esckeys'    + off        no <Esc>-keys in Insert mode
  714.     'expandtab'      off        tabs not expanded to spaces
  715.     'fileformats'    + ""        no automatic file format detection,
  716.               "dos,unix"    except for DOS, Windows and OS/2
  717.     'formatoptions'    + "vt"        Vi compatible formatting
  718.     'gdefault'      off        no default 'g' flag for ":s"
  719.     'history'    + 0        no commandline history
  720.     'hlsearch'      off        no highlighting of search matches
  721.     'incsearch'      off        no incremental searching
  722.     'insertmode'      off        do not start in Insert mode
  723.     'iskeyword'    + "@,48-57,_"    keywords contain alphanumeric
  724.                         characters and '_'
  725.     'joinspaces'      on        insert 2 spaces after period
  726.     'modeline'    + off        no modelines
  727.     'more'        + off        no pauses in listings
  728.     'revins'      off        no reverse insert
  729.     'ruler'          off        no ruler
  730.     'scrolljump'      1        no jump scroll
  731.     'scrolloff'      0        no scroll offset
  732.     'shiftround'      off        indent not rounded to shiftwidth
  733.     'showcmd'    + off        command characters not shown
  734.     'showmode'    + off        current mode not shown
  735.     'smartcase'      off        no automatic ignore case switch
  736.     'smartindent'      off        no smart indentation
  737.     'smarttab'      off        no smart tab size
  738.     'softtabstop'      0        tabs are always 'tabstop' positions
  739.     'startofline'      on        goto startofline with some commands
  740.     'tagrelative'    + off        tag file names are not relative
  741.     'textauto'    + off        no automatic textmode detection
  742.     'textwidth'      0        no automatic line wrap
  743.     'tildeop'      off        tilde is not an operator
  744.     'ttimeout'      off        no terminal timeout
  745.     'whichwrap'    + ""        left-right movements don't wrap
  746.     'wildchar'    + CTRL-E    only when the current value is <Tab>
  747.                     use CTRL-E for cmdline completion
  748.  
  749.                         *'complete'* *'cpt'*
  750. 'complete' 'cpt'    string    (default: ".,b")
  751.             global
  752.             {not in Vi}
  753.     This option specifies how keyword completion |ins-completion| works
  754.     when CTRL-P or CTRL-N are used.  It indicates the type of completion
  755.     and the places to scan.  It is a comma separated list of flags:
  756.     .    scan the current buffer.
  757.     w    scan other windows.
  758.     b    scan other loaded buffers.
  759.     u    scan the unloaded buffers.
  760.     k    scan the files given with the 'dictionary' option.
  761.     k[dict]    scan the file [dict].  Several "k" flags can be given,
  762.         patterns are valid too.  For example:
  763. >            :set cpt=k/usr/dict/*,k~/spanish
  764.     i    scan current and included files.
  765.     ]    tag completion.
  766.     t    same as "]".
  767.  
  768.     Unloaded buffers are not loaded, thus their autocmds |:autocmd| are
  769.     not executed, this may lead to unexpected completions from some files
  770.     (gziped files for example)
  771.  
  772.     A nice value is:
  773. >        :set cpt=.,b,u
  774.  
  775.     As U can see, CTRL-N and CTRL-P can be used to do any 'iskeyword'-
  776.     based expansion (eg dictionary |i_CTRL-X_CTRL-K|, include
  777.     |i_CTRL-X_CTRL-I|, tag |i_CTRL-X_CTRL-]| and normal expansions)
  778.  
  779.                 *'confirm'* *'cf'* *'noconfirm'* *'nocf'*
  780. 'confirm' 'cf'        boolean (default off)
  781.             global
  782.             {not in Vi}
  783.     When 'confirm' is on, certain operations that would normally
  784.     fail because of unsaved changes to a buffer, e.g. ":q" and ":e",
  785.     instead raise a |dialog| asking if you wish to save the current
  786.     file(s).  You can still use a ! to unconditionally abandon a buffer.
  787.     If 'confirm' is off you can still activate confirmation for one
  788.     command only (this is most useful in mappings) with the |:confirm|
  789.     command.
  790.     Also see the |confirm()| function and the 'v' flag in 'guioptions'.
  791.  
  792.                         *'cpoptions'* *'cpo'*
  793. 'cpoptions' 'cpo'    string    (Vim default: "aABceFs",
  794.                  Vi default:  all flags)
  795.             global
  796.             {not in Vi}
  797.     A sequence of single character flags.  When a character is present
  798.     this indicates vi-compatible behaviour.  This is used for things where
  799.     not being vi-compatible is mostly or sometimes preferred.
  800.     'cpoptions' stands for 'compatibleoptions'.
  801.     Commas can be added for readability.
  802.     To avoid problems with flags that are added in the future, use the
  803.     "+=" and "-=" feature of ":set" |add-option-flags|.
  804.  
  805.         contains    behaviour    ~
  806.         a    When included, a ":read" command with a file name
  807.             argument will set the alternate file name for the
  808.             current window.
  809.         A    When included, a ":write" command with a file name
  810.             argument will set the alternate file name for the
  811.             current window.
  812.         b    "\|" in a ":map" command is recognized as the end of
  813.             the map command.  The '\' is included in the mapping,
  814.             the text after the '|' is interpreted as the next
  815.             command.  Use a CTRL-V instead of a backslash to
  816.             include the '|' in the mapping.  Applies to all
  817.             mapping, abbreviation, menu and autocmd commands.
  818.             See also |map_bar|.
  819.         B    A backslash has no special meaning in mappings,
  820.             abbreviations and the "to" part of the menu commands.
  821.             Remove this flag to be able to use a backslash like a
  822.             CTRL-V.  For example, the command ":map X \<Esc>"
  823.             results in X being mapped to:
  824.                 'B' included:    "\^["    (^[ is a real <Esc>)
  825.                 'B' excluded:   "<Esc>"  (5 characters)
  826.                 ('<' excluded in both cases)
  827.         <    Disable the recognition of special key codes in |<>|
  828.             form in mappings, abbreviations, and the "to" part of
  829.             menu commands.  For example, the command
  830.             ":map X <Tab>" results in X being mapped to:
  831.                 '<' included:   "<Tab>"  (5 characters)
  832.                 '<' excluded:   "^I"     (^I is a real <Tab>)
  833.             Also see the 'k' flag below.
  834.         c    Searching continues at the end of any match at the
  835.             cursor position.  When not present searching continues
  836.             one character from the cursor position.  With 'c'
  837.             "abababababab" only gets three matches when repeating
  838.             "/abab", without 'c' there are five matches.
  839.         d    Using "./" in the 'tags' option doesn't mean to use
  840.             the tags file relative to the current file, but the
  841.             tags file in the current directory.
  842.         e    When executing a register with ":@r", always add a
  843.             <CR> to the last line, also when the register is not
  844.             linewise.  If this flag is not present, the register
  845.             is not linewise and the last line does not end in a
  846.             <CR>, then the last line is put on the command-line
  847.             and can be edited before hitting <CR>.
  848.         E    It is an error when using "y", "d", "c", "g~", "gu" or
  849.             "gU" on an Empty region.  The operators only work when
  850.             at least one character is to be operate on.  Example:
  851.             This makes "y0" fail in the first column.
  852.         f    When included, a ":read" command with a file name
  853.             argument will set the file name for the current buffer,
  854.             if the current buffer doesn't have a file name yet.
  855.         F    When included, a ":write" command with a file name
  856.             argument will set the file name for the current
  857.             buffer, if the current buffer doesn't have a file name
  858.             yet.
  859.         j    When joining lines, only add two spaces after a '.',
  860.             not after '!' or '?'.  Also see 'joinspaces'.
  861.         k    Disable the recognition of raw key codes in
  862.             mappings, abbreviations, and the "to" part of menu
  863.             commands.  For example, if <Key> sends ^[OA (where ^[
  864.             is <Esc>), the command ":map X ^[OA" results in X
  865.             being mapped to:
  866.                 'k' included:   "^[OA"   (3 characters)
  867.                 'k' excluded:   "<Key>"  (one key code)
  868.             Also see the '<' flag above.
  869.         l    Backslash in a [] range in a search pattern is taken
  870.             literally, only "\]" is special  See |/[]|
  871.                'l' included: "/[ \t]"  finds <Space>, '\' and 't'
  872.                'l' excluded: "/[ \t]"  finds <Space> and <Tab>
  873.         L    When the 'list' option is set, 'wrapmargin' and
  874.             'textwidth' count a <Tab> as two characters, instead
  875.             of the normal behaviour of a <Tab>.
  876.         m    When included, a showmatch will always wait half a
  877.             second.  When not included, a showmatch will wait half
  878.             a second or until a character is typed.  |'showmatch'|
  879.         o    Line offset to search command is not remembered for
  880.             next search.
  881.         r    Redo ("." command) uses "/" to repeat a search
  882.             command, instead of the actually used search string.
  883.         s    Set buffer options when entering the buffer for the
  884.             first time.  This is like it is in Vim version 3.0.
  885.             And it is the default.  If not present the options are
  886.             set when the buffer is created.
  887.         S    Set buffer options always when entering a buffer
  888.             (except 'readonly' and 'fileformat').  This is the
  889.             (most) Vi compatible setting.
  890.             The options are set to the values in the current
  891.             buffer.  When you change an option and go to another
  892.             buffer, the value is copied.  Effectively makes the
  893.             buffer options global to all buffers.
  894.  
  895.             's'    'S'     copy buffer options
  896.             no     no      when buffer created
  897.             yes    no      when buffer first entered (default)
  898.              X     yes     each time when buffer entered (vi comp.)
  899.  
  900.         t    Search pattern for the tag command is remembered for
  901.             "n" command.  Otherwise Vim only puts the pattern in
  902.             the history for search pattern, but doesn't change the
  903.             last used search pattern.
  904.         u    Undo is Vi compatible.  See |undo-two-ways|.
  905.         w    When using "cw" on a blank character, only change one
  906.             character and not all blanks until the start of the
  907.             next word.
  908.         W    Don't overwrite a readonly file.  When omitted, ":w!"
  909.             overwrites a readonly file, if possible.
  910.         x    <Esc> on the command-line executes the command-line.
  911.             The default in Vim is to abandon the command-line,
  912.             because <Esc> normally aborts a command.  |c_<Esc>|
  913.         y    A yank command can be redone with ".".
  914.         $    When making a change to one line, don't redisplay the
  915.             line, but put a '$' at the end of the changed text.
  916.             The changed text will be overwritten when you type the
  917.             new text.  The line is redisplayed if you type any
  918.             command that moves the cursor from the insertion
  919.             point.
  920.         !    When redoing a filter command, use the last used
  921.             external command, whatever it was.  Otherwise the last
  922.             used -filter- command is used.
  923.         *    Use ":*" in the same way as ":@".  When not included,
  924.             ":*" is an alias for ":'<,'>", select the Visual area.
  925.         %    Vi-compatible matching is done for the "%" command.
  926.             Does not recognize "#if", "#endif", etc.
  927.             Does not recognize "/*" and "*/".
  928.             Parens inside single and double quotes are also
  929.             counted, causing a string that contains a paren to
  930.             disturb the matching.  For example, in a line like
  931.             "if (strcmp("foo(", s))" the first paren does not
  932.             match the last one.  When this flag is not included,
  933.             parens inside single and double quotes are treated
  934.             specially.  When matching a paren outside of quotes,
  935.             everything inside quotes is ignored.  When matching a
  936.             paren inside quotes, it will find the matching one (if
  937.             there is one).  This works very well for C programs.
  938.  
  939.                         *'cscopeprg'* *'csprg'*
  940. 'cscopeprg' 'csprg'    string    (default "cscope")
  941.             global
  942.             {not available when compiled without the |+cscope|
  943.             feature}
  944.             {not in Vi}
  945.     Specifies the command to execute cscope.  See |cscopeprg|.
  946.  
  947.                         *'cscopetag'* *'cst'*
  948. 'cscopetag' 'cst'    boolean (default off)
  949.             global
  950.             {not available when compiled without the |+cscope|
  951.             feature}
  952.             {not in Vi}
  953.     Use cscope for tag commands.  See |cscope-options|.
  954.  
  955.                         *'cscopetagorder'* *'csto'*
  956. 'cscopetagorder' 'csto'    number    (default 0)
  957.             global
  958.             {not available when compiled without the |+cscope|
  959.             feature}
  960.             {not in Vi}
  961.     Determines the order in which ":cstag" performs a search.  See
  962.     |cscopetagorder|.
  963.  
  964.                         *'cscopeverbose'* *'csverb'*
  965. 'cscopeverbose' 'csverb' boolean (default off)
  966.             global
  967.             {not available when compiled without the |+cscope|
  968.             feature}
  969.             {not in Vi}
  970.     Give messages when adding a cscope database.  See |cscopeverbose|.
  971.  
  972.                         *'define'* *'def'*
  973. 'define' 'def'        string    (default "^#\s*define")
  974.             global
  975.             {not in Vi}
  976.     Pattern to be used to find a macro definition.  It is a search
  977.     pattern, just like for the "/" command.  This option is used for the
  978.     commands like "[i" and "[d" |include-search|.  The 'isident' option is
  979.     used to recognize the identifier name after the match.  See
  980.     |option-backslash| about inserting backslashes to include a space or
  981.     backslash.
  982.     The default value is for C programs.  For C++ this value would be
  983.     useful, to include const type declarations:
  984. >        ^\(#\s*define\|[a-z]*\s*const\s*[a-z]*\)
  985.     When using the ":set" command, you need to double the backslashes!
  986.  
  987.                         *'dictionary'* *'dict'*
  988. 'dictionary' 'dict'    string    (default "")
  989.             global
  990.             {not in Vi}
  991.     List of file names, separated by commas, that are used to lookup words
  992.     for keyword completion commands |i_CTRL-X_CTRL-K|.  Each file should
  993.     contain a list of words.  This can be one word per line, or several
  994.     words per line, separated by non-keyword characters (white space is
  995.     preferred).
  996.     To include a comma in a file name precede it with a backslash.  Spaces
  997.     after a comma are ignored, otherwise spaces are included in the file
  998.     name.  See |option-backslash| about using backslashes.
  999.     Where to find a list of words?
  1000.     - On FreeBSD, there is the file "/usr/share/dict/words".
  1001.     - In the Simtel archive, look in the "msdos/linguist" directory.
  1002.     - In "miscfiles" of the GNU collection.
  1003.     The use of |:set+=| and |:set-=| is preferred when adding or removing
  1004.     directories from the list.  This avoids problems when a future version
  1005.     uses another default.
  1006.  
  1007.                      *'digraph'* *'dg'* *'nodigraph'* *'nodg'*
  1008. 'digraph' 'dg'        boolean    (default off)
  1009.             global
  1010.             {not in Vi}
  1011.             {not available when compiled without the |+digraphs|
  1012.             feature}
  1013.     Enable the entering of digraphs in Insert mode with {char1} <BS>
  1014.     {char2}.  See |digraphs|.
  1015.  
  1016.                         *'directory'* *'dir'*
  1017. 'directory' 'dir'    string    (default for Amiga: ".,t:",
  1018.                  for MS-DOS and Win32: ".,c:\tmp,c:\temp"
  1019.                  for Unix: ".,~/tmp,/var/tmp,/tmp")
  1020.             global
  1021.     List of directory names for the swap file, separated with commas.
  1022.     - The swap file will be created in the first directory where this is
  1023.       possible.
  1024.     - Empty means that no swap file will be used (recovery is
  1025.       impossible!).
  1026.     - A directory "." means to put the swap file in the same directory as
  1027.       the edited file.  On Unix, a dot is prepended to the file name, so
  1028.       it doesn't show in a directory listing.
  1029.     - A directory starting with "./" (or ".\" for MS-DOS et.al.) means to
  1030.       put the swap file relative to where the edited file is.  The leading
  1031.       "." is replaced with the path name of the edited file.
  1032.     - Spaces after the comma are ignored, other spaces are considered part
  1033.       of the directory name.  To have a space at the start of a directory
  1034.       name, precede it with a backslash.
  1035.     - To include a comma in a directory name precede it with a backslash.
  1036.     - A directory name may end in an ':' or '/'.
  1037.     - Environment variables are expanded |:set_env|.
  1038.     - Careful with '\' characters, type one before a space, type two to
  1039.       get one in the option (see |option-backslash|), for example:
  1040. >        :set dir=c:\\tmp,\ dir\\,with\\,commas,\\\ dir\ with\ spaces
  1041.     - For backwards compatibility with Vim version 3.0 a '>' at the start
  1042.       of the option is removed.
  1043.     Using "." first in the list is recommended.  This means that editing
  1044.     the same file twice will result in a warning.  Using "/tmp" on Unix is
  1045.     discouraged: When the system crashes you lose the swap file.
  1046.     "/var/tmp" is often not cleared when rebooting, thus is a better
  1047.     choice than "/tmp".  But it can contain a lot of files, your swap
  1048.     files get lost in the crowd.  That is why a "tmp" directory in your
  1049.     home directory is tried first.
  1050.     The use of |:set+=| and |:set-=| is preferred when adding or removing
  1051.     directories from the list.  This avoids problems when a future version
  1052.     uses another default.
  1053.     {Vi: directory to put temp file in, defaults to "/tmp"}
  1054.  
  1055.                *'ed'* *'edcompatible'* *'noed'* *'noedcompatible'*
  1056. 'edcompatible' 'ed'    boolean    (default off)
  1057.             global
  1058.     Makes the 'g' and 'c' flags of the ":substitute" command to be
  1059.     toggled each time the flag is given.  See |complex-change|.  See
  1060.     also 'gdefault' option.
  1061.  
  1062.                    *'endofline'* *'eol'* *'noendofline'* *'noeol'*
  1063. 'endofline' 'eol'    boolean    (default on)
  1064.             local to buffer
  1065.             {not in Vi}
  1066.     When writing a file and this option is off and the 'binary' option
  1067.     is on, no <EOL> will be written for the last line in the file.  This
  1068.     option is automatically set when starting to edit a new file, unless
  1069.     the file does not have an <EOL> for the last line in the file, in
  1070.     which case it is reset.  Normally you don't have to set or reset this
  1071.     option.  When 'binary' is off the value is not used when writing the
  1072.     file.  When 'binary' is on it is used to remember the presence of a
  1073.     <EOL> for the last line in the file, so that when you write the file
  1074.     the situation from the original file can be kept.  But you can change
  1075.     it if you want to.
  1076.  
  1077.                  *'equalalways'* *'ea'* *'noequalalways'* *'noea'*
  1078. 'equalalways' 'ea'    boolean    (default on)
  1079.             global
  1080.             {not in Vi}
  1081.     When on all the windows are automatically made the same size after
  1082.     splitting or closing a window.  When off, splitting a window will
  1083.     reduce the size of the current window and leave the other windows the
  1084.     same.  When closing a window the extra lines are given the the window
  1085.     above it.
  1086.  
  1087.                         *'equalprg'* *'ep'*
  1088. 'equalprg' 'ep'        string    (default "")
  1089.             global
  1090.             {not in Vi}
  1091.     External program to use for "=" command.  When this option is empty
  1092.     the internal formatting functions are used ('lisp' or 'cindent').
  1093.     Environment variables are expanded |:set_env|.  See |option-backslash|
  1094.     about including spaces and backslashes.
  1095.  
  1096.                    *'errorbells'* *'eb'* *'noerrorbells'* *'noeb'*
  1097. 'errorbells' 'eb'    boolean    (default off)
  1098.             global
  1099.     Ring the bell (beep or screen flash) for error messages.  This only
  1100.     makes a difference for error messages, the bell will be used always
  1101.     for a lot of errors without a message (e.g., hitting <Esc> in Normal
  1102.     mode).  See 'visualbell' on how to make the bell behave like a beep,
  1103.     screen flash or do nothing.
  1104.  
  1105.                         *'errorfile'* *'ef'*
  1106. 'errorfile' 'ef'    string    (Amiga default: "AztecC.Err",
  1107.                     others: "errors.err")
  1108.             global
  1109.             {not in Vi}
  1110.             {not available when compiled without the |+quickfix|
  1111.             feature}
  1112.     Name of the errorfile for the QuickFix mode (see |:cf|).
  1113.     When the "-q" command-line argument is used, 'errorfile' is set to the
  1114.     following argument.  See |-q|.
  1115.     NOT used for the ":make" command.  See 'makeef' for that.
  1116.     Environment variables are expanded |:set_env|.
  1117.     See |option-backslash| about including spaces and backslashes.
  1118.  
  1119.                         *'errorformat'* *'efm'*
  1120. 'errorformat' 'efm'    string    (default is very long)
  1121.             global
  1122.             {not in Vi}
  1123.             {not available when compiled without the |+quickfix|
  1124.             feature}
  1125.     Scanf-like description of the format for the lines in the error file
  1126.     (see |errorformat|).
  1127.  
  1128.                      *'esckeys'* *'ek'* *'noesckeys'* *'noek'*
  1129. 'esckeys' 'ek'        boolean    (Vim default: on, Vi default: off)
  1130.             global
  1131.             {not in Vi}
  1132.     Function keys that start with an <Esc> are recognized in Insert
  1133.     mode.  When this option is off, the cursor and function keys cannot be
  1134.     used in Insert mode if they start with an <Esc>.  The advantage of
  1135.     this is that the single <Esc> is recognized immediately, instead of
  1136.     after one second.  Instead of resetting this option, you might want to
  1137.     try changing the values for 'timeoutlen' and 'ttimeoutlen'.  Note that
  1138.     when 'esckeys' is off, you can still map anything, but the cursor keys
  1139.     won't work by default.
  1140.  
  1141.                         *'eventignore'* *'ei'*
  1142. 'eventignore' 'ei'    string    (default "")
  1143.             global
  1144.             {not in Vi}
  1145.     A list of autocommand event names, which are to be ignored.
  1146.     When set to "all", all autocommand events are ignored, autocommands
  1147.     will not be executed.
  1148.     Otherwise this is a comma separated list of event names.  Example:
  1149. >        :set ei=WinEnter,WinLeave
  1150.  
  1151.                  *'expandtab'* *'et'* *'noexpandtab'* *'noet'*
  1152. 'expandtab' 'et'    boolean    (default off)
  1153.             local to buffer
  1154.             {not in Vi}
  1155.     In Insert mode: Use the appropriate number of spaces to insert a
  1156.     <Tab>.  Spaces are used in indents with the '>' and '<' commands and
  1157.     when 'autoindent' is on.  To insert a real tab when 'expandtab' is
  1158.     on, use CTRL-V<Tab>.  See also |:retab| and |ins-expandtab|.
  1159.  
  1160.                     *'exrc'* *'ex'* *'noexrc'* *'noex'*
  1161. 'exrc' 'ex'        boolean (default off)
  1162.             global
  1163.             {not in Vi}
  1164.     Enables the reading of .vimrc, .exrc and .gvimrc in the current
  1165.     directory.  If you switch this option on you should also consider
  1166.     setting the 'secure' option (see |initialization|).  Using a local
  1167.     .exrc, .vimrc or .gvimrc is a potential security leak, use with care!
  1168.     also see |.vimrc| and |gui-init|.
  1169.  
  1170. 'fileencoding' 'fe'    string (default: "ansi")
  1171.             local to buffer
  1172.             {not in Vi}
  1173.  
  1174.     Enables editing of alternative encoded files, for example shift-JIS or
  1175.     Unicode.  When you set this option, it fires of a 'FileEncoding'
  1176.     autocommand so you can set up fonts if necessary.
  1177.  
  1178.     Possible values are:
  1179.         ansi    default setting, good for most Western languages
  1180.         unicode    <to be implemented>
  1181.         japan    set to use shift-JIS (Windows CP 932) encoding
  1182.         korea    set to use Korean DBCS
  1183.         prc        use simplified Chinese encoding
  1184.         taiwan    use traditional Chinese encoding
  1185.         hebrew    <to be implemented>
  1186.         farsi    <to be implemented>
  1187.  
  1188.     This lets you view, for example, a Japanese S-JIS encoded file
  1189.     (provided you have a suitable font).  The DBCS characters are treated
  1190.     as a unit, i.e. you cursor past them or delete them, etc as a unit,
  1191.     rather than deleting half a character.
  1192.  
  1193.                     *'fileformat'* *'ff'*
  1194. 'fileformat' 'ff'    string (DOS, Win32, OS/2 default: "dos",
  1195.                 Unix default: "unix",
  1196.                 Macintosh default: "mac")
  1197.             local to buffer
  1198.             {not in Vi}
  1199.     This gives the <EOL> of the current buffer, which is used for
  1200.     reading/writing the buffer from/to a file:
  1201.         dos        <CR> <NL>
  1202.         unix    <NL>
  1203.         mac        <CR>
  1204.     When "dos" is used, CTRL-Z at the end of a file is ignored.
  1205.     See |file-formats| and |file-read|.
  1206.     When 'binary' is set, the value of 'fileformat' is ignored, file I/O
  1207.     works like it was set to "unix'.
  1208.     This option is set automatically when starting to edit a file and
  1209.     'fileformats' is not empty and 'binary' is off.
  1210.     When this option is set, after starting to edit a file, the 'modified'
  1211.     option is set, because the file would be different when written.
  1212.     For backwards compatibility: When this option is set to "dos",
  1213.     'textmode' is set, otherwise 'textmode' is reset.
  1214.  
  1215.                     *'fileformats'* *'ffs'*
  1216. 'fileformats' 'ffs'    string (Vim+Vi    DOS, Win32, OS/2 default: "dos,unix",
  1217.                 Vim    Unix default: "unix,dos",
  1218.                 Vim    Mac default: "mac,unix,dos",
  1219.                 Vi    others default: "")
  1220.             global
  1221.             {not in Vi}
  1222.     This gives the end-of-line (<EOL>) formats that will be tried.  It is
  1223.     used when starting to edit a new buffer and when reading a file into
  1224.     an existing buffer:
  1225.     - When empty, the format defined with 'fileformat' will be used
  1226.       always.  It is not set automatically.
  1227.     - When set to one name, that format will be used whenever a new buffer
  1228.       is opened.  'fileformat' is set accordingly for that buffer.  The
  1229.       'fileformats' name will be used when a file is read into an existing
  1230.       buffer, no matter what 'fileformat' for that buffer is set to.
  1231.     - When more than one name is present, separated by commas, automatic
  1232.       <EOL> detection will be done when reading a file.  When starting to
  1233.       edit a file, a check is done for the <EOL>:
  1234.       1. If all lines end in <CR><NL>, and 'fileformats' includes "dos",
  1235.          'fileformat' is set to "dos".
  1236.       2. If a <NL> is found and 'fileformats' includes "unix, 'fileformat'
  1237.          is set to "unix".  Note that when a <NL> is found without a
  1238.          preceding <CR>, "unix" is prefered over "dos".
  1239.       3. If 'fileformats' includes "mac", 'fileformat' is set to "mac".
  1240.          This means that "mac" is only choosen when "unix" is not present,
  1241.          or when no <NL> is found in the file, and when "dos" is not
  1242.          present, or no <CR><NL> is present in the file.
  1243.       4. If 'fileformat' is still not set, the first name from
  1244.          'fileformats' is used.
  1245.       When reading a file into an existing buffer, the same is done, but
  1246.       this happens like 'fileformat' has been set appropriately for that
  1247.       file only, the option is not changed.
  1248.     When 'binary' is set, the value of 'fileformats' is not used.
  1249.  
  1250.     For systems with a Dos-like <EOL> (<CR><NL>), when reading files that
  1251.     are ":source"ed and for vimrc files, automatic <EOL> detection may be
  1252.     done:
  1253.     - When 'fileformats' is empty, there is no automatic detection.  Dos
  1254.       format will be used.
  1255.     - When 'fileformats' is set to one or more names, automatic detection
  1256.       is done.  This is based on the first <NL> in the file: If there is a
  1257.       <CR> in front of it, Dos format is used, otherwise Unix format is
  1258.       used.
  1259.     Also see |file-formats|.
  1260.     For backwards compatibility: When this option is set to an empty
  1261.     string or one format (no comma is included), 'textauto' is reset,
  1262.     otherwise 'textauto' is set.
  1263.  
  1264.                     *'filetype'* *'ft'*
  1265. 'filetype' 'ft'        string (RISC OS default: "Text",
  1266.                 others default: "")
  1267.             local to buffer
  1268.             {not in Vi}
  1269.             {only available when compiled with the |+filetype|
  1270.             feature}
  1271.     Some systems store extra information about files besides name,
  1272.     datastamp and permissions. This option contains the extra information,
  1273.     the nature of which will vary between systems.
  1274.     The value of this option is usually set when the file is loaded, and
  1275.     may also change the way the file is written.
  1276.     It can affect the pattern matching of the automatic commands.
  1277.     |autocmd-filetypes|
  1278.  
  1279.                     *'fkmap'* *'fk'* *'nofkmap'* *'nofk'*
  1280. 'fkmap' 'fk'        boolean (default off)
  1281.             global
  1282.             {not in Vi}
  1283.             {only available when compiled with the |+rightleft|
  1284.             feature}
  1285.     When on, the keyboard is mapped for the Farsi character set.
  1286.     Normally you would set 'allowrevins' and use CTRL-_ in insert mode to
  1287.     toggle this option |i_CTRL-_|.  See |farsi.txt|.
  1288.  
  1289.                     *'formatoptions'* *'fo'*
  1290. 'formatoptions' 'fo'    string (Vim default: "tcq", Vi default: "vt")
  1291.             local to buffer
  1292.             {not in Vi}
  1293.     This is a sequence of letters which describes how automatic
  1294.     formatting is to be done.  See |fo-table|.  When the 'paste' option is
  1295.     on, no formatting is done (like 'formatoptions' is empty).  Commas can
  1296.     be inserted for readability.
  1297.     To avoid problems with flags that are added in the future, use the
  1298.     "+=" and "-=" feature of ":set" |add-option-flags|.
  1299.  
  1300.                         *'formatprg'* *'fp'*
  1301. 'formatprg' 'fp'    string (default "")
  1302.             global
  1303.             {not in Vi}
  1304.     The name of an external program that will be used to format the lines
  1305.     selected with the "gq" command.  The program must take the input on
  1306.     stdin and produce the output on stdout.  The Unix program "fmt" is
  1307.     such a program.  If this option is an empty string, the internal
  1308.     format function will be used |C-indenting|.  Environment variables are
  1309.     expanded |:set_env|.  See |option-backslash| about including spaces
  1310.     and backslashes.
  1311.  
  1312.                    *'gdefault'* *'gd'* *'nogdefault'* *'nogd'*
  1313. 'gdefault' 'gd'        boolean    (default off)
  1314.             global
  1315.             {not in Vi}
  1316.     When on, the ":substitute" flag 'g' is default on.  This means that
  1317.     all matches in a line are substituted instead of one.  When a 'g' flag
  1318.     is given to a ":substitute" command, this will toggle the substitution
  1319.     of all or one match.  See |complex-change|.
  1320.  
  1321.         command        'gdefault' on    'gdefault' off    ~
  1322.         :s///          subst. all      subst. one
  1323.         :s///g          subst. one      subst. all
  1324.         :s///gg          subst. all      subst. one
  1325.  
  1326.                         *'grepformat'* *'gfm'*
  1327. 'grepformat' 'gfm'    string    (default "%f:%l%m,%f  %l%m")
  1328.             global
  1329.             {not in Vi}
  1330.     Format to recognize for the ":grep" command output.
  1331.     This is a scanf-like string that uses the same format as the
  1332.     'errorformat' option: see |errorformat|.
  1333.  
  1334.                         *'grepprg'* *'gp'*
  1335. 'grepprg' 'gp'        string    (default "grep -n", Win32: "findstr /n")
  1336.             global
  1337.             {not in Vi}
  1338.     Program to use for the ":grep" command. This option may contain '%'
  1339.     and '#' characters, which are expanded like when used in a
  1340.     command-line.  Environment variables are expanded |:set_env|.  See
  1341.     |option-backslash| about including spaces and backslashes.
  1342.  
  1343.     See also the section |:make_makeprg|, since most of the comments there
  1344.     apply equally to 'grepprg'.
  1345.  
  1346.                         *'guicursor'* *'gcr'*
  1347. 'guicursor' 'gcr'    string    (default "n-v-c:block-Cursor,ve:ver35-Cursor,
  1348.                     o:hor50-Cursor,i-ci:ver25-Cursor,
  1349.                     r-cr:hor20-Cursor,sm:block-Cursor
  1350.                     -blinkwait175-blinkoff150-blinkon175")
  1351.             global
  1352.             {not in Vi}
  1353.             {only available when compiled with GUI enabled, and
  1354.             for MSDOS and Win32 console}
  1355.     This option tells Vim what the cursor should look like in different
  1356.     modes.  The option is a comma separated list of parts.  Each part
  1357.     consist of a mode-list and an argument-list:
  1358.         mode-list:argument-list,mode-list:argument-list,..
  1359.     The mode-list is a dash separated list of these modes:
  1360.         n    Normal mode
  1361.         v    Visual mode
  1362.         ve    Visual mode with 'selection' "exclusive" (same as 'v',
  1363.             if not specified)
  1364.         o    Operator-pending mode
  1365.         i    Insert mode
  1366.         r    Replace mode
  1367.         c    Command-line Normal (append) mode
  1368.         ci    Command-line Insert mode
  1369.         cr    Command-line Replace mode
  1370.         sm    showmatch in Insert mode
  1371.         a    all modes
  1372.     The argument-list is a dash separated list of these arguments:
  1373.         hor{N}    horizontal bar, {N} percent of the character height
  1374.         ver{N}    vertical bar, {N} percent of the character width
  1375.         block    block cursor, fills the whole character
  1376.             [only one of the above three should be present]
  1377.         blinkwait{N}                *cursor-blinking*
  1378.         blinkon{N}
  1379.         blinkoff{N}
  1380.             blink times for cursor: blinkwait is the delay before
  1381.             the cursor starts blinking, blinkon is the time that
  1382.             the cursor is shown and blinkoff is the time that the
  1383.             cursor is not shown.  The times are in msec.  When one
  1384.             of the numbers is zero, there is no blinking.  The
  1385.             default is: "blinkwait700-blinkon400-blinkoff250".
  1386.             These numbers are used for a missing entry.  This
  1387.             means that blinking is enabled by default.  To switch
  1388.             blinking off you can use "blinkon0".  The cursor only
  1389.             blinks when Vim is waiting for input, not while
  1390.             executing a command.
  1391.             To make the cursor blink in an xterm, see
  1392.             tools/blink.c.
  1393.         {group-name}
  1394.             a highlight group name, that sets the color and font
  1395.             for the cursor
  1396.     Examples of parts:
  1397.        n-c-v:block-nCursor    in Normal, Command-line and Visual mode, use a
  1398.                 block cursor with colors from the "nCursor"
  1399.                 highlight group
  1400.        i-ci:ver30-iCursor-blinkwait300-blinkon200-blinkoff150
  1401.                 In Insert and Command-line Insert mode, use a
  1402.                 30% vertical bar cursor with colors from the
  1403.                 "iCursor" highlight group.  Blink a bit
  1404.                 faster.
  1405.  
  1406.     The 'a' mode is different.  It will set the given argument-list for
  1407.     all modes.  It does not reset anything to defaults.  This can be used
  1408.     to do a common setting for all modes.  For example, to switch off
  1409.     blinking: "a:blinkon0"
  1410.  
  1411.     Examples of cursor highlighting:
  1412. >        :highlight Cursor gui=reverse guifg=NONE guibg=NONE
  1413. >        :highlight Cursor gui=NONE guifg=bg guibg=fg
  1414.  
  1415.     In an MSDOS or Win32 console, only the height of the cursor can be
  1416.     changed.  This can be done by specifying a block cursor, or a
  1417.     percentage for a vertical or horizontal cursor.
  1418.  
  1419.                         *'guifont'* *'gfn'*
  1420. 'guifont' 'gfn'        string    (default "")
  1421.             global
  1422.             {not in Vi}
  1423.             {only available when compiled with GUI enabled}
  1424.     This is a list of fonts which should be tried when starting the GUI
  1425.     version of vim.  The fonts are separated with commas.  Spaces after a
  1426.     comma are ignored.  To include a comma in a font name precede it with
  1427.     a backslash.  Setting an option requires an extra backslash before a
  1428.     space and a backslash.  See also |option-backslash|.  For example:
  1429. >        :set guifont=Screen15,\ 7x13,font\\,with\\,commas
  1430.     will make vim try to use the font "Screen15" first, and if it fails
  1431.     it will try to use "7x13" and then "font,with,commas" instead.
  1432.     Win32 only:
  1433. >        :set guifont=*
  1434.     will bring up a font requester, where you can pick the font you want.
  1435.     If none of the fonts can be loaded, vim will keep the current setting.
  1436.     If an empty font list is given, vim will try using other resource
  1437.     settings (for X, it will use the Vim.font resource), and finally it
  1438.     will try some builtin default which should always be there ("7x13" in
  1439.     the case of X).  The font names given should be "normal" fonts.  Vim
  1440.     will try to find the related bold and italic fonts.
  1441.     For the Win32 GUI
  1442.     - takes these options in the font name:
  1443.         hXX - height is XX (points)
  1444.         wXX - width is XX (points)
  1445.         b   - bold
  1446.         i   - italic
  1447.         u   - underline
  1448.         s   - strikeout
  1449.       Use a ':' to separate the options.
  1450.     - A '_' can be used in the place of a space, so you don't need to use
  1451.       backslashes to escape the spaces.
  1452.     - Example:
  1453. >        :set guifont=courier_new:h12:w5:b
  1454.     See also |font-sizes|.
  1455.  
  1456.                         *'guioptions'* *'go'*
  1457. 'guioptions' 'go'    string    (default "agimrt" (Unix) or "gmrt")
  1458.             global
  1459.             {not in Vi}
  1460.             {only available when compiled with GUI enabled}
  1461.     This option only has an effect in the GUI version of vim.  It is a
  1462.     sequence of letters which describes what components and options of the
  1463.     GUI should be used.
  1464.     To avoid problems with flags that are added in the future, use the
  1465.     "+=" and "-=" feature of ":set" |add-option-flags|.
  1466.  
  1467.     Valid letters are as follows:
  1468.  
  1469.       'a'    Autoselect:  If present, then whenever VISUAL mode is started,
  1470.         or the Visual area extended, Vim tries to become the owner of
  1471.         the windowing system's global selection.  This means that the
  1472.         Visually highlighted text is available for pasting into other
  1473.         applications as well as into Vim itself.  When the Visual mode
  1474.         ends, possibly due to an operation on the text, or when an
  1475.         application wants to paste the selection, the highlighted text
  1476.         is automatically yanked into the <"*> selection register.
  1477.         Thus the selection is still available for pasting into other
  1478.         applications after the VISUAL mode has ended.
  1479.             If not present, then Vim won't become the owner of the
  1480.         windowing system's global selection unless explicitly told to
  1481.         by a yank or delete operation.
  1482.  
  1483.       'f'    Foreground: Don't use fork() to detatch the GUI from the shell
  1484.         where it was started.  Use this for programs that wait for the
  1485.         editor to finish (e.g., an e-mail program).  Altenatively you
  1486.         can use "gvim -f" or ":gui -f" to start the GUI in the
  1487.         foreground.  |gui-fork|
  1488.  
  1489.       'i'    Use a Vim icon.  It's black&white, because of limitations of
  1490.         X11.  For a color icon, see |X11-icon|.
  1491.  
  1492.       'm'    Menu bar is present when 'm' is included.
  1493.       'g'    Grey menu items: Make menu items that are not active grey.  If
  1494.         'g' is not included inactive menu items are not shown at all.
  1495.  
  1496.       't'    Include tearoff menu items.  Currently only works for Win32
  1497.         and Motif 1.2 GUI.
  1498.       'T'    Include Toolbar.  Currently only in Win32 GUI.
  1499.  
  1500.       'r'    Right-hand scrollbar is present when 'r' is included.
  1501.       'l'    Left-hand scrollbar is present when 'l' is included.
  1502.       'b'    Bottom (horizontal) scrollbar is present when 'b' is included.
  1503.  
  1504.     And yes, you may even have scrollbars on the left AND the right if
  1505.     you really want to :-).  See |gui-scrollbars| for more information.
  1506.  
  1507.       'v'    Use a vertical button layout for dialogs.  When not included,
  1508.         a horizontal layout is preferred, but when it doesn't fit a
  1509.         vertical layout is used anyway.
  1510.       'p'    Use Pointer callbacks for X11 GUI.  This is required for some
  1511.         window managers.  If the cursor is not blinking or hollow at
  1512.         the right moment, try adding this flag.  This must be done
  1513.         before starting the GUI.  Set it in your gvimrc.  Adding or
  1514.         removing it after the GUI has started has no effect.
  1515.  
  1516.                         *'guipty'* *'noguipty'*
  1517. 'guipty'        boolean    (default on)
  1518.             global
  1519.             {not in Vi}
  1520.             {only available when compiled with GUI enabled}
  1521.     Only in the GUI: If on, an attempt is made to open a pseudo-tty for
  1522.     I/O to/from shell commands.  See |gui-pty|.
  1523.  
  1524.                     *'helpfile'* *'hf'*
  1525. 'helpfile' 'hf'        string    (default (Amiga) "vim:doc/help.txt"
  1526.                      (MSDOS) "$VIM\doc\help.txt"
  1527.                      (others) "$VIM/doc/help.txt")
  1528.             global
  1529.             {not in Vi}
  1530.     Name of the help file.  All help files should be placed together in
  1531.     one directory.  Environment variables are expanded |:set_env|.  For
  1532.     example: "$VIM/doc/help.txt".  If $VIM is not set, $HOME is also
  1533.     tried.  Also see |$VIM|.  |option-backslash| about including spaces
  1534.     and backslashes.
  1535.  
  1536.                         *'helpheight'* *'hh'*
  1537. 'helpheight' 'hh'    number    (default 20)
  1538.             global
  1539.             {not in Vi}
  1540.     Minimal initial height of the help window when it is opened with the
  1541.     ":help" command.  The initial height of the help window is half of the
  1542.     current window, or (when the 'ea' option is on) the same as other
  1543.     windows.  When the height is less than 'helpheight', the height is
  1544.     set to 'helpheight'.  Set to zero to disable.
  1545.  
  1546.                      *'hidden'* *'hid'* *'nohidden'* *'nohid'*
  1547. 'hidden' 'hid'        boolean    (default off)
  1548.             global
  1549.             {not in Vi}
  1550.     When off a buffer is unloaded when it is abandoned.  When on a buffer
  1551.     becomes hidden when it is abandoned.  If the buffer is still displayed
  1552.     in another window, it does not become hidden, of course.
  1553.     The commands that move through the buffer list sometimes make a buffer
  1554.     hidden although the 'hidden' option is off: When the buffer is
  1555.     modified, 'autowrite' is off or writing is not possible, and the '!'
  1556.     flag was used.  See also |windows.txt|.
  1557.     WARNING: It's easy to forget that you have changes in hidden buffers.
  1558.     Think twice when using ":q!" or ":qa!".
  1559.  
  1560.                         *'highlight'* *'hl'*
  1561. 'highlight' 'hl'    string    (default (as a single string):
  1562.                      "8:SpecialKey,@:NonText,d:Directory,
  1563.                      e:ErrorMsg,i:IncSearch,l:Search,m:MoreMsg,
  1564.                      M:ModeMsg,n:LineNr,r:Question,
  1565.                      s:StatusLine,S:StatusLineNC,t:Title,
  1566.                      v:Visual,w:WarningMsg")
  1567.             global
  1568.             {not in Vi}
  1569.     This option can be used to set highlighting mode for various
  1570.     occasions.  It is a comma separated list of character pairs.  The
  1571.     first character in a pair gives the occasion, the second the mode to
  1572.     use for that occasion.  The occasions are:
  1573.     |hl-SpecialKey|     8  Meta and special keys listed with ":map"
  1574.     |hl-NonText|     @  '~' and '@' at the end of the window and
  1575.                 characters from 'showbreak'
  1576.     |hl-Directory|     d  directories in CTRL-D listing and other special
  1577.                 things in listings
  1578.     |hl-ErrorMsg|     e  error messages
  1579.              h  (obsolete, ignored)
  1580.     |hl-IncSearch|     i  'incsearch' highlighting
  1581.     |hl-Search|     l  last search pattern highlighting (see 'hlsearch')
  1582.     |hl-MoreMsg|     m  |more-prompt|
  1583.     |hl-ModeMsg|     M  Mode (e.g., "-- INSERT --")
  1584.     |hl-LineNr|     n  line number for ":number" and ":#" commands
  1585.     |hl-Question|     r  |hit-return| prompt and yes/no questions
  1586.     |hl-StatusLine|     s  status line of current window |status-line|
  1587.     |hl-StatusLineNC| S  status lines of not-current windows
  1588.     |hl-Title|     t  Titles for output from ":set all", ":autocmd" etc.
  1589.     |hl-Visual|     v  Visual mode
  1590.     |hl-WarningMsg|     w  warning messages
  1591.  
  1592.     The display modes are:
  1593.         r    reverse        (termcap entry "mr" and "me")
  1594.         i    italic        (termcap entry "ZH" and "ZR")
  1595.         b    bold        (termcap entry "md" and "me")
  1596.         s    standout    (termcap entry "so" and "se")
  1597.         u    underline    (termcap entry "us" and "ue")
  1598.         n    no highlighting
  1599.         -    no highlighting
  1600.         :    use a highlight group
  1601.     The default is used for occasions that are not included.
  1602.     If you want to change what the display modes do, see |dos-colors|
  1603.     for an example.
  1604.     When using the ':' display mode, this must be followed by the name of
  1605.     a highlight group.  A highlight group can be used to define any type
  1606.     of highlighting, including using color.  See |:highlight| on how to
  1607.     define one.  The default uses a different group for each occasion.
  1608.     See |highlight-default| for the default highlight groups.
  1609.  
  1610.                  *'hlsearch'* *'hls'* *'nohlsearch'* *'nohls'*
  1611. 'hlsearch' 'hls'    boolean    (default off)
  1612.             global
  1613.             {not in Vi}
  1614.             {not available when compiled without the
  1615.             |+extra_search| feature}
  1616.     When there is a previous search pattern, highlight all its matches.
  1617.     The type of highlighting used can be set with the 'l' occasion in the
  1618.     'highlight' option.  This uses the "Search" highlight group by
  1619.     default.  Note that only the matching text is highlighted, any offsets
  1620.     are not applied.
  1621.     See also: 'incsearch'.
  1622.     When you get bored looking at the highlighted matches, you can turn it
  1623.     off with |:nohlsearch|.  As soon as you use a search command, the
  1624.     highlighting comes back.
  1625.  
  1626.                         *'history'* *'hi'*
  1627. 'history' 'hi'        number    (Vim default: 20, Vi default: 0)
  1628.             global
  1629.             {not in Vi}
  1630.     A history of ":" commands, and a history of previous search patterns
  1631.     are remembered.  This option decides how many entries may be stored in
  1632.     each of these histories (see |cmdline-editing|).
  1633.  
  1634.                      *'hkmap'* *'hk'* *'nohkmap'* *'nohk'*
  1635. 'hkmap' 'hk'        boolean (default off)
  1636.             global
  1637.             {not in Vi}
  1638.             {only available when compiled with the |+rightleft|
  1639.             feature}
  1640.     When on, the keyboard is mapped for the Hebrew character set.
  1641.     Normally you would set 'allowrevins' and use CTRL-_ in insert mode to
  1642.     toggle this option.  See |rightleft.txt|.
  1643.  
  1644.                  *'hkmapp'* *'hkp'* *'nohkmapp'* *'nohkp'*
  1645. 'hkmapp' 'hkp'        boolean (default off)
  1646.             global
  1647.             {not in Vi}
  1648.             {only available when compiled with the |+rightleft|
  1649.             feature}
  1650.     When on, phonetic keyboard mapping is used.  'hkmap' must also be on.
  1651.     This is useful if you have a non-Hebrew keyboard.
  1652.     See |rightleft.txt|.
  1653.  
  1654.                         *'icon'* *'noicon'*
  1655. 'icon'            boolean    (default off, on when title can be restored)
  1656.             global
  1657.             {not in Vi}
  1658.     When on, the icon text of the window will be set to the name of the
  1659.     file currently being edited.  Only the last part of the name is used.
  1660.     Overridden by the 'iconstring' option.
  1661.     Only works if the terminal supports setting window icons (currently
  1662.     only Unix xterm and iris-ansi).  When Vim was compiled with HAVE_X11
  1663.     defined, the original icon will be restored if possible |X11|.
  1664.     See |X11-icon| for changing the icon on X11.
  1665.  
  1666.                         *'iconstring'*
  1667. 'iconstring'        string    (default "")
  1668.             global
  1669.             {not in Vi}
  1670.     When this options is not empty, it will be used for the icon of the
  1671.     window.  This happens regardless of the 'icon' option.
  1672.     Only works if the terminal supports setting window icons (currently
  1673.     only Unix xterm and iris-ansi).  When Vim was compiled with HAVE_X11
  1674.     defined, the original icon will be restored if possible |X11|.
  1675.     Does not work for MS Windows.
  1676.  
  1677.                    *'ignorecase'* *'ic'* *'noignorecase'* *'noic'*
  1678. 'ignorecase' 'ic'    boolean    (default off)
  1679.             global
  1680.     Ignore case in search patterns.  Also used when searching in the tags
  1681.     file.
  1682.  
  1683.                         *'include'* *'inc'*
  1684. 'include' 'inc'        string    (default "^#\s*include")
  1685.             global
  1686.             {not in Vi}
  1687.     Pattern to be used to find an include command.  It is a search
  1688.     pattern, just like for the "/" command (See |pattern|).  The default
  1689.     value is for C programs.  This option is used for the commands "[i",
  1690.     "]I", "[d", etc..  The 'isfname' option is used to recognize the file
  1691.     name that comes after the matched pattern.  See |option-backslash|
  1692.     about including spaces and backslashes.
  1693.  
  1694.                  *'incsearch'* *'is'* *'noincsearch'* *'nois'*
  1695. 'incsearch' 'is'    boolean    (default off)
  1696.             global
  1697.             {not in Vi}
  1698.             {not available when compiled without the
  1699.             |+extra_search| feature}
  1700.     While typing a search pattern, show immediately where the so far
  1701.     typed pattern matches.  The matched string is highlighted.  If the
  1702.     pattern is invalid or not found, nothing is shown.  The screen will
  1703.     be updated often, this is only useful on fast terminals.  Note that
  1704.     the match will be shown, but the cursor is not actually positioned
  1705.     there.  You still need to finish the search command with <CR> to move
  1706.     the cursor.  The highlighting can be set with the 'i' flag in
  1707.     'highlight'.  See also: 'hlsearch'.
  1708.  
  1709.                    *'infercase'* *'inf'* *'noinfercase'* *'noinf'*
  1710. 'infercase' 'inf'    boolean    (default off)
  1711.             local to buffer
  1712.             {not in Vi}
  1713.     When doing keyword completion in insert mode |ins-completion|, and
  1714.     'ignorecase' is also on, the case of the match is adjusted.  If the
  1715.     typed text contains a lowercase letter where the match has an upper
  1716.     case letter, the completed part is made lower case.  If the typed text
  1717.     has no lower case letters and the match has a lower case letter where
  1718.     the typed text has an upper case letter, and there is a letter before
  1719.     it, the completed part is made uppercase.
  1720.  
  1721.                    *'insertmode'* *'im'* *'noinsertmode'* *'noim'*
  1722. 'insertmode' 'im'    boolean    (default off)
  1723.             global
  1724.             {not in Vi}
  1725.     Makes Vim work in a way that Insert mode is the default mode.  Useful
  1726.     if you want to use Vim as a modeless editor.
  1727.     These Insert mode commands will be useful:
  1728.     - Use the cursor keys to move around.
  1729.     - Use CTRL-O to execute one Normal mode command |i_CTRL-O|).  When
  1730.       this is a mapping, it is executed as if 'insertmode' was off.
  1731.       Normal mode remains active until the mapping is finished.
  1732.                                 *i_CTRL-L*
  1733.     - Use CTRL-L to execute a number of Normal mode commands, then use
  1734.       <Esc> to get back to Insert mode.
  1735.  
  1736.     These items change when 'insertmode' is set:
  1737.     - when starting to edit of a file, Vim goes to Insert mode.
  1738.     - <Esc> in Insert mode is a no-op and beeps.
  1739.     - <Esc> in Normal mode makes Vim go to Insert mode.
  1740.     - CTRL-L in Insert mode is a command, it is not inserted.
  1741.     - CTRL-Z in Insert mode suspends Vim, see |CTRL-Z|.    *i_CTRL-Z*
  1742.     However, when <Esc> is used inside a mapping, it behaves like
  1743.     'insertmode' was not set.  This was done to be able to use the same
  1744.     mappings with 'insertmode' set or not set.
  1745.  
  1746.                         *'isfname'* *'isf'*
  1747. 'isfname' 'isf'        string    (default for MS-DOS, Win32 and OS/2:
  1748.                         "@,48-57,/,.,-,_,+,,,$,:,\"
  1749.                  for AMIGA: "@,48-57,/,.,-,_,+,,,$,:"
  1750.                  otherwise: "@,48-57,/,.,-,_,+,,,$,:,~")
  1751.             global
  1752.             {not in Vi}
  1753.     The characters given by this option are included in file names and
  1754.     path names.  Filenames are used for commands like "gf", "[i" and in
  1755.     the tags file.  Besides the characters in this option characters that
  1756.     are defined by the C function isalpha() are also always included
  1757.     (this depends on the character set and "locale").
  1758.  
  1759.     The format of this option is a list of parts, separated with commas.
  1760.     Each part can be a single character number or a range.  A range is two
  1761.     character numbers with '-' in between.  A character number can be a
  1762.     decimal number between 0 and 255 or the ASCII character itself (does
  1763.     not work for digits).  Example:
  1764.         "_,-,128-140,#-43"    (include '_' and '-' and the range
  1765.                     128 to 140 and '#' to 43)
  1766.     If a part starts with '^', the following character number or range
  1767.     will be excluded from the option.  The option is interpreted from left
  1768.     to right.  Put the excluded character after the range where it is
  1769.     included.  To include '^' itself use it as the last character of the
  1770.     option or the end of a range.  Example:
  1771.         "^a-z,#,^"    (exclude 'a' to 'z', include '#' and '^')
  1772.     If the character is '@', all characters where isalpha() returns TRUE
  1773.     are included.  Normally these are the characters a to z and A to Z,
  1774.     plus accented characters.  To include '@' itself use "@-@".  Examples:
  1775.         "@,^a-z"    All alphabetic characters, excluding lower
  1776.                 case letters.
  1777.         "a-z,A-Z,@-@"    All letters plus the '@' character.
  1778.     A comma can be included by using it where a character number is
  1779.     expected.  Example:
  1780.         "48-57,,,_"    Digits, command and underscore.
  1781.     A comma can be excluded by prepending a '^'.  Example:
  1782.         " -~,^,,9"    All characters from space to '~', excluding
  1783.                 comma, plus <Tab>.
  1784.     See |option-backslash| about including spaces and backslashes.
  1785.  
  1786.                         *'isident'* *'isi'*
  1787. 'isident' 'isi'        string    (default for MS-DOS, Win32 and OS/2:
  1788.                        "@,48-57,_,128-167,224-235"
  1789.                 otherwise: "@,48-57,_,192-255")
  1790.             global
  1791.             {not in Vi}
  1792.     The characters given by this option are included in identifiers.
  1793.     Identifiers are used in recognizing environment variables and after
  1794.     a match of the 'define' option.  See 'isfname' for a description of
  1795.     the format of this option.
  1796.     Careful: If you change this option, it might break expanding
  1797.     environment variables.  E.g., when '/' is included and Vim tries to
  1798.     expand "$HOME/.viminfo".  Maybe you should change 'iskeyword' instead.
  1799.  
  1800.                         *'iskeyword'* *'isk'*
  1801. 'iskeyword' 'isk'    string (Vim default for MS-DOS and Win32:
  1802.                         "@,48-57,_,128-167,224-235"
  1803.                    otherwise:  "@,48-57,_,192-255"
  1804.                 Vi default: "@,48-57,_")
  1805.             local to buffer
  1806.             {not in Vi}
  1807.     Keywords are used in searching and recognizing with many commands:
  1808.     "w", "*", "[i", etc.  See 'isfname' for a description of the format of
  1809.     this option.  For C programs you could use "a-z,A-Z,48-57,_,.,-,>".
  1810.     For a help file it is set to all non-blank printable characters except
  1811.     '*', '"' and '|'.  When the 'lisp' option is on the '-' character is
  1812.     always included.
  1813.  
  1814.                         *'isprint'* *'isp'*
  1815. 'isprint' 'isp'    string    (default for MS-DOS and Win32: "@,~-255"
  1816.                   otherwise:           "@,161-255")
  1817.             global
  1818.             {not in Vi}
  1819.     The characters given by this option are displayed directly on the
  1820.     screen.  The characters from space (ascii 32) to '~' (ascii 126) are
  1821.     always displayed directly, even when they are not included in
  1822.     'isprint' or excluded.  See 'isfname' for a description of the format
  1823.     of this option.  Non-printable characters are displayed with two
  1824.     characters:
  1825.           0 -  31    "^@" - "^_"
  1826.          32 - 126    always single characters
  1827.            127        "^?"
  1828.         128 - 159    "~@" - "~_"
  1829.         160 - 254    "| " - "|~"
  1830.            255        "~?"
  1831.  
  1832.                    *'joinspaces'* *'js'* *'nojoinspaces'* *'nojs'*
  1833. 'joinspaces' 'js'    boolean    (default on)
  1834.             global
  1835.             {not in Vi}
  1836.     Insert two spaces after a '.', '?' and '!' with a join command.
  1837.     When 'cpoptions' includes the 'j' flag, only do this after a '.'.
  1838.     Otherwise only one space is inserted.
  1839.  
  1840.                     *'keymodel'* *'km'*
  1841. 'keymodel' 'km'        string    (default "")
  1842.     List of comma separated words, which enable special things that keys
  1843.     can do.  These values can be used:
  1844.        startsel    Using a shifted special key starts selection (either
  1845.             Select mode or Visual mode, depending on "key" being
  1846.             present in 'selectmode').
  1847.        stopsel    Using a not-shifted special key stops selection.
  1848.     Special keys in this context are the cursor keys, <End>, <Home>,
  1849.     <PageUp> and <PageDown>.
  1850.     The 'keymodel' option is set by the |:behave| command.
  1851.  
  1852.                     *'keywordprg'* *'kp'*
  1853. 'keywordprg' 'kp'    string    (default "man" or "man -s",
  1854.                         OS/2: "view /", VMS: "help")
  1855.             global
  1856.             {not in Vi}
  1857.     Program to use for the |K| command.  Environment variables are
  1858.     expanded |:set_env|.  When empty ":help" is used.
  1859.     When "man" is used, Vim will automatically translate a count for the
  1860.     "K" command to a section number.  Also for "man -s", in which case the
  1861.     "-s" is removed when there is no count.
  1862.     See |option-backslash| about including spaces and backslashes.
  1863.     Example:
  1864. >        :set keywordprg=man\ -s
  1865.  
  1866.                     *'langmap'* *'lmap'*
  1867. 'langmap' 'lmap'    string    (default "")
  1868.             global
  1869.             {not in Vi}
  1870.             {only available when compiled with the |+langmap|
  1871.             feature}
  1872.     This option allows support for keyboards that have a mode for a
  1873.     special language.  The idea is that when you are typing text in Insert
  1874.     mode your keyboard is switched in the special language mode, you get
  1875.     different key codes for the special characters.  When in command mode
  1876.     the 'langmap' option takes care of translating these special
  1877.     characters to the original meaning of the key.  This means you don't
  1878.     have to change the keyboard mode to be able to execute normal mode
  1879.     commands.
  1880.  
  1881.     Example (for greek):                    *greek*
  1882. >        :set langmap=┴A,┬B,╪C,─D,┼E,╓F,├G,╟H,╔I,╬J,╩K,╦L,╠M,═N,╧O,╨P,QQ,╤R,╙S,╘T,╚U,┘V,WW,╫X,╒Y,╞Z,ßa,Γb,°c,Σd,σe,÷f,πg,τh,Θi,εj,Ωk,δl,∞m,φn,∩o,≡p,qq,±r,≤s,⌠t,Φu,∙v,≥w,≈x,⌡y,µz
  1883.     Example (exchanges meaning of z and y for commands):
  1884. >        :set langmap=zy,yz,ZY,YZ
  1885.  
  1886.     The 'langmap' option is a list of parts, separated with commas.  Each
  1887.     part can be in one of two forms:
  1888.     1.  A list of pairs.  Each pair is a "from" character immediately
  1889.         followed by the "to" character.  Examples: "aA", "aAbBcC".
  1890.     2.  A list of "from" characters, a semi-colon and a list of "to"
  1891.         characters.  Example: "abc;ABC"
  1892.     Example: "aA,fgh;FGH,cCdDeE"
  1893.     Special characters need to be preceded with a backslash.  These are
  1894.     ";", ',' and backslash itself.
  1895.  
  1896.     This will allow you to activate vim actions without having to switch
  1897.     back and forth between the languages.  Your language characters will
  1898.     be understood as normal vim English characters (according to the
  1899.     langmap mappings) in the following cases:
  1900.      o Normal/Visual mode (commands, buffer/register names, user mappings)
  1901.      o Insert/Replace Mode: Register names after CTRL-R
  1902.      o Insert/Replace Mode: Mappings
  1903.     Characters entered in Command-line mode will NOT be affected by
  1904.     this option.   Note that this option can be changed at any time
  1905.     allowing to switch between mappings for different languages/encodings.
  1906.     Use a mapping to avoid having to type it each time!
  1907.  
  1908.                     *'laststatus'* *'ls'*
  1909. 'laststatus' 'ls'    number    (default 1)
  1910.             global
  1911.             {not in Vi}
  1912.     The value of this option influences when the last window will have a
  1913.     status line:
  1914.         0: never
  1915.         1: only if there are at least two windows
  1916.         2: always
  1917.     The screen looks nicer with a status line if you have several
  1918.     windows, but it takes another screen line.
  1919.  
  1920.                     *'lazyredraw'* *'lz'*
  1921. 'lazyredraw' 'lz'    boolean    (default off)
  1922.             global
  1923.             {not in Vi}
  1924.     When this option is set, the screen will not be redrawn while
  1925.     executing macros, registers and other commands that have not been
  1926.     typed.
  1927.  
  1928.                    *'linebreak'* *'lbr'* *'nolinebreak'* *'nolbr'*
  1929. 'linebreak' 'lbr'    boolean    (default off)
  1930.             local to window
  1931.             {not in Vi}
  1932.     If on Vim will wrap long lines at a character in 'breakat' rather
  1933.     than at the last character that fits on the screen.  Unlike
  1934.     'wrapmargin' and 'textwidth', this does not insert <EOL>s in the file,
  1935.     it only affects the way the file is displayed, not its contents.  The
  1936.     value of 'showbreak' is used to put in front of wrapped lines.  This
  1937.     option is not used when the 'wrap' option is off.  Note that <Tab>
  1938.     characters after an <EOL> are mostly not displayed correctly.
  1939.  
  1940.                         *'lines'*
  1941. 'lines'            number    (default 24 or terminal height)
  1942.             global
  1943.     Number of lines in the display.  Normally you don't need to set this.
  1944.     That is done automatically by the terminal initialization code.  When
  1945.     you do set this, and Vim is unable to change the physical number of
  1946.     lines on the display, redisplaying may be wrong.
  1947.  
  1948.                         *'lisp'* *'nolisp'*
  1949. 'lisp'            boolean    (default off)
  1950.             local to buffer
  1951.             {not available when compiled without the |+lispindent|
  1952.             feature}
  1953.     Lisp mode: When a return is typed in insert mode set the indent for
  1954.     the next line to Lisp standards (well, sort of).  Also happens with
  1955.     "cc" or "S".  'autoindent' must also be on for this to work.  The '-'
  1956.     character is included in keyword characters.  Redefines the "="
  1957.     operator to use this same indentation algorithm rather than calling an
  1958.     external program if 'equalprg' is empty.  This option is reset when
  1959.     'paste' is set.  {Vi: Does it a little bit differently}
  1960.  
  1961.                         *'list'* *'nolist'*
  1962. 'list'            boolean    (default off)
  1963.             local to window
  1964.     List mode: Show tabs as CTRL-I, show end of line with $.  Useful to
  1965.     see the difference between tabs and spaces and for trailing blanks.
  1966.     Note that this will also affect formatting (set with 'textwidth' or
  1967.     'wrapmargin') when 'cpoptions' includes 'L'.  See 'listchars' for
  1968.     changing the way tabs are displayed.
  1969.  
  1970.                         *'listchars'* *'lcs'*
  1971. 'listchars' 'lcs'    string    (default "eol:$")
  1972.             global
  1973.             {not in Vi}
  1974.     Strings to use in 'list' mode.  It is a comma separated list of string
  1975.     settings.
  1976.       eol:c        Character to show at the end of each line.  When
  1977.             omitted, there is no extra character at the end of the
  1978.             line.
  1979.       tab:xy    Two characters to be used to show a Tab.  The first
  1980.             char is used once.  The second char is repeated to
  1981.             fill the space that the Tab normally occupies.
  1982.             "tab:>-" will show a Tab that takes four spaces as
  1983.             ">---".  When omitted, a Tab is show as ^I.
  1984.       trail:c    Character to show for trailing spaces.  When omitted,
  1985.             trailing spaces are blank.
  1986.       extends:c    Character to show in the last column, when 'wrap' is
  1987.             off and the line continues beyond the right of the
  1988.             screen.
  1989.     The characters ':' and ',' cannot be used.
  1990.     Examples:
  1991. >        :set lcs=tab:>-,trail:-
  1992. >        :set lcs=tab:>-,eol:<
  1993.     The "NonText" highlighting will be used for these characters.
  1994.  
  1995.  
  1996.                         *'magic'* *'nomagic'*
  1997. 'magic'            boolean    (default on)
  1998.             global
  1999.     Changes the special characters that can be used in search patterns.
  2000.     See |pattern|.
  2001.  
  2002.                         *'makeef'* *'mef'*
  2003. 'makeef' 'mef'        string    (Amiga default: "t:vim##.Err",
  2004.                       Unix: "/tmp/vim##.err",
  2005.                     others: "vim##.err")
  2006.             global
  2007.             {not in Vi}
  2008.             {not available when compiled without the |+quickfix|
  2009.             feature}
  2010.     Name of the errorfile for the ":make" command (see |:make_makeprg|).
  2011.     When "##" is included, it is replaced by a number to make the name
  2012.     unique.  This makes sure that the ":make" command doesn't overwrite an
  2013.     existing file.
  2014.     NOT used for the ":cf" command.  See 'errorfile' for that.
  2015.     Environment variables are expanded |:set_env|.
  2016.     See |option-backslash| about including spaces and backslashes.
  2017.  
  2018.                         *'makeprg'* *'mp'*
  2019. 'makeprg' 'mp'        string    (default "make")
  2020.             global
  2021.             {not in Vi}
  2022.     Program to use for the ":make" command.  See |:make_makeprg|.  This
  2023.     option may contain '%' and '#' characters, which are expanded like
  2024.     when used in a command-line.  Environment variables are expanded
  2025.     |:set_env|.  See |option-backslash| about including spaces and
  2026.     backslashes.
  2027.  
  2028.                         *'matchpairs'* *'mps'*
  2029. 'matchpairs' 'mps'    string    (default "(:),{:},[:]")
  2030.             local to buffer
  2031.             {not in Vi}
  2032.     Characters that form pairs.  The |%| command jumps from one to the
  2033.     other.  Currently only single character pairs are allowed.  The
  2034.     characters must be separated by a colon.  The pairs must be separated
  2035.     by a comma.  Example for including '<' and '>' (HTML):
  2036. >        set mps=(:),{:},[:],<:>
  2037.  
  2038.                         *'matchtime'* *'mat'*
  2039. 'matchtime' 'mat'    number    (default 5)
  2040.             global
  2041.             {not in Vi}{in Nvi}
  2042.     Tenths of a second to show the matching paren, when 'showmatch' is
  2043.     set.  Note that this is not in milliseconds, like other options that
  2044.     set a time.  This is to be compatible with Nvi.
  2045.  
  2046.                         *'maxfuncdepth'* *'mfd'*
  2047. 'maxfuncdepth' 'mfd'    number    (default 100)
  2048.             global
  2049.             {not in Vi}
  2050.     Maximum depth of function calls for user functions.  This normally
  2051.     catches endless recursiveness.  When using a recursive function with
  2052.     more depth, set 'maxfuncdepth' to a bigger number.  But this will use
  2053.     more memory, there is the danger of failing when memory is exhausted.
  2054.     See also |:function|.
  2055.  
  2056.                         *'maxmapdepth'* *'mmd'*
  2057. 'maxmapdepth' 'mmd'    number    (default 1000)
  2058.             global
  2059.             {not in Vi}
  2060.     Maximum number of times a mapping is done without resulting in a
  2061.     character to be used.  This normally catches endless mappings, like
  2062.     ":map x y" with ":map y x".  It still does not catch ":map g wg",
  2063.     because the 'w' is used before the next mapping is done.  See also
  2064.     |key-mapping|.
  2065.  
  2066.                         *'maxmem'* *'mm'*
  2067. 'maxmem' 'mm'        number    (default 512)
  2068.             global
  2069.             {not in Vi}
  2070.     Maximum amount of memory (in Kbyte) to use for one buffer.  When this
  2071.     limit is reached allocating extra memory for a buffer will cause
  2072.     other memory to be freed.  See also 'maxmemtot'.
  2073.  
  2074.                         *'maxmemtot'* *'mmt'*
  2075. 'maxmemtot' 'mmt'    number    (default 2048, or half the amount of memory
  2076.                 available)
  2077.             global
  2078.             {not in Vi}
  2079.     Maximum amount of memory (in Kbyte) to use for all buffers together.
  2080.     See also 'maxmem'.
  2081.  
  2082.                    *'modeline'* *'ml'* *'nomodeline'* *'noml'*
  2083. 'modeline' 'ml'        boolean    (Vim default: on, Vi default: off)
  2084.             local to buffer
  2085.                         *'modelines'* *'mls'*
  2086. 'modelines' 'mls'    number    (default 5)
  2087.             global
  2088.             {not in Vi}
  2089.     If 'modeline' is on 'modelines' gives the number of lines that is
  2090.     checked for set commands.  If 'modeline' is off or 'modelines' is zero
  2091.     no lines are checked.  See |modeline|.  'modeline' is reset when
  2092.     'compatible' is set.
  2093.  
  2094.                  *'modified'* *'mod'* *'nomodified'* *'nomod'*
  2095. 'modified' 'mod'    boolean    (default off)
  2096.             local to buffer
  2097.             {not in Vi}
  2098.     When on the buffer is considered to be modified.  This option is set
  2099.     by every command that makes a change to the buffer.  Only the undo
  2100.     command may reset it, when all changes have been undone.
  2101.  
  2102.                         *'more'* *'nomore'*
  2103. 'more'            boolean    (Vim default: on, Vi default: off)
  2104.             global
  2105.             {not in Vi}
  2106.     When on, listings pause when the whole screen is filled.  You will get
  2107.     the |more-prompt|.  When this option is off there are no pauses, the
  2108.     listing continues until finished.
  2109.     When 'compatible' is set this option is reset.
  2110.  
  2111.                         *'mouse'*
  2112. 'mouse'            string    (default "", "a" for GUI, MS-DOS and Win32)
  2113.             global
  2114.             {not in Vi}
  2115.     Enable the use of the mouse.  Only works for certain terminals
  2116.     (MS-DOS, Win32 |win32-mouse| and xterm).  For using the mouse in the
  2117.     GUI, see |gui-mouse|.
  2118.     The mouse can be enabled for different modes:
  2119.         n    Normal mode
  2120.         v    Visual mode
  2121.         i    Insert mode
  2122.         c    Command-line mode
  2123.         h    all previous modes when editing a help file
  2124.         a    all previous modes
  2125.         r    for |hit-return| prompt
  2126.     Normally you would enable the mouse in all four modes with:
  2127. >        :set mouse=a
  2128.     When the mouse is not enabled, the GUI will still use the mouse for
  2129.     modeless selection.  This doesn't move the text cursor.
  2130.  
  2131.     Note: When enabling the mouse in an xterm, the xterm copy/paste can
  2132.     still be used by keeping the shift key pressed.
  2133.     See |mouse-using|.
  2134.  
  2135.             *'mousefocus'* *'mousef'* *'nomousefocus'* *'nomousef'*
  2136. 'mousefocus' 'mousef'    boolean    (default off)
  2137.             global
  2138.             {not in Vi}
  2139.             {only works in the GUI}
  2140.     The window that the mouse pointer is on is automatically activated.
  2141.     When changing the window layout or window focus in another way, the
  2142.     mouse pointer is moved to the window with keyboad focus.  Off is the
  2143.     default because it makes using the pull down menus a little goofy, as
  2144.     a pointer transit may activate a window unintentionally.
  2145.  
  2146.             *'mousehide'* *'mh'* *'nomousehide'* *'nomh'*
  2147. 'mousehide' 'mh'    boolean    (default off)
  2148.             global
  2149.             {not in Vi}
  2150.             {only works in the GUI}
  2151.     When on, the mouse pointer is hidden when characters are typed.
  2152.     The mouse pointer is restored when the mouse is moved.
  2153.  
  2154.                         *'mousemodel'* *'mousem'*
  2155. 'mousemodel' 'mousem'    string    (default "extend", "popup" for MS-DOS and Win32)
  2156.             global
  2157.             {not in Vi}
  2158.     Sets the model to use for the mouse.  The name mostly specifies what
  2159.     the right mouse button is used for:
  2160.         extend    Right mouse button extends a selection.  This works
  2161.             like in an xterm.
  2162.         popup    Right mouse button pops up a menu.  The shifted left
  2163.             mouse button extends a selection.  This works like
  2164.             with Microsoft Windows
  2165.     Overview of what button does what for each model:
  2166.     mouse            extend        popup  ~
  2167.     left click        place cursor    place cursor
  2168.     left drag        start selection    start selection
  2169.     shift-left        search word        extend selection
  2170.     right click        extend selection    popup menu
  2171.     right drag        extend selection    -
  2172.     middle click        paste        -
  2173.  
  2174.     In the "popup" model the right mouse button produces a pop-up menu.
  2175.     You need to define this first, see |win32-popup-menu|.
  2176.  
  2177.     Note that you can further refine the meaning of buttons with mappings.
  2178.     See |gui-mouse-mapping|.  But mappings are NOT used for modeless
  2179.     selection (because that's handled in the GUI code directly).
  2180.  
  2181.     The 'mousemodel' option is set by the |:behave| command.
  2182.  
  2183.                         *'mousetime'* *'mouset'*
  2184. 'mousetime' 'mouset'    number    (default 500)
  2185.             global
  2186.             {not in Vi}
  2187.     Only for GUI, MS-DOS, Win32 and Unix with xterm.  Defines the maximum
  2188.     time in msec between two mouse clicks for the second click to be
  2189.     recognized as a multi click.
  2190.  
  2191.                             *'nrformats'* *'nf'*
  2192. 'nrformats' 'nf'    string    (default "octal,hex")
  2193.             local to buffer
  2194.             {not in Vi}
  2195.     This defines what bases Vim will consider for numbers when using the
  2196.     CTRL-A and CTRL-X commands for adding to and subtracting from a number
  2197.     respectively; see |CTRL-A| for more info on these commands.
  2198.     If "octal" is included, numbers that start with a zero will be
  2199.     considered to be octal.  Example: Using CTRL-A on "007" results in
  2200.     "010".
  2201.     If "hex" is included, numbers starting with "0x" or "0X" will be
  2202.     considered to be hexadecimal.  Example: Using CTRL-X on "0x100"
  2203.     results in "0x0ff".
  2204.     Numbers which simply begin with a digit in the range 1-9 are always
  2205.     considered decimal.  This also happens for numbers that are not
  2206.     recognized as octal or hex.
  2207.  
  2208.                        *'number'* *'nu'* *'nonumber'* *'nonu'*
  2209. 'number' 'nu'        boolean    (default off)
  2210.             local to window
  2211.     Print the line number in front of each line.  Tip: If you don't like
  2212.     wrapping lines to mix with the line numbers, set the 'showbreak'
  2213.     option to eight spaces:
  2214.         :set showbreak=\ \ \ \ \ \ \ \ 
  2215.  
  2216.                         *'paragraphs'* *'para'*
  2217. 'paragraphs' 'para'    string    (default "IPLPPPQPP LIpplpipbp")
  2218.             global
  2219.     Specifies the nroff macros that separate paragraphs.  These are pairs
  2220.     of two letters (see |object-motions|).
  2221.  
  2222.                         *'paste'* *'nopaste'*
  2223. 'paste'            boolean    (default off)
  2224.             global
  2225.             {not in Vi}
  2226.     Put Vim in Paste mode.  This is useful if you want to cut or copy
  2227.     some text from one window and paste it in Vim.  This will avoid
  2228.     unexpected effects.
  2229.     Setting this option is useful when using Vim in a terminal, where Vim
  2230.     cannot distiguish between typed text and pasted text.  In the GUI, Vim
  2231.     knows about pasting and will mostly do the right thing without 'paste'
  2232.     being set.
  2233.     When the 'paste' option is switched on (also when it was already on):
  2234.         - mapping in Insert mode and Command-line mode is disabled
  2235.         - abbreviations are disabled
  2236.         - 'textwidth' is set to 0
  2237.         - 'wrapmargin' is set to 0
  2238.         - 'autoindent' is reset
  2239.         - 'smartindent' is reset
  2240.         - 'cindent' is reset
  2241.         - 'softtabstop' is set to 0
  2242.         - 'lisp' is reset
  2243.         - 'revins' is reset
  2244.         - 'ruler' is reset
  2245.         - 'showmatch' is reset
  2246.         - 'formatoptions' is used like it is empty
  2247.     NOTE: When you start editing another file while the 'paste' option is
  2248.     on, settings from the modelines or autocommands may change the
  2249.     settings again, causing trouble when pasting text.  You might want to
  2250.     set the 'paste' option again.
  2251.     When the 'paste' option is reset the mentioned options are restored to
  2252.     the value before the moment 'paste' was switched from off to on.
  2253.     Resetting 'paste' before ever setting it does not have any effect.  If
  2254.     you use this often, you could map a function key to the command ":set
  2255.     invpaste^V^M".
  2256.  
  2257.                         *'patchmode'* *'pm'*
  2258. 'patchmode' 'pm'    string    (default "")
  2259.             global
  2260.             {not in Vi}
  2261.     When non-empty the oldest version of a file is kept.  This can be used
  2262.     to keep the original version of a file if you are changing files in a
  2263.     source distribution.  Only the first time that a file is edited a copy
  2264.     of the original file will be kept.  The name of the copy is the name
  2265.     of the original file with the string in the 'patchmode' option
  2266.     appended.  This option should start with a dot.  Use a string like
  2267.     ".org".  'backupdir' must not be empty for this to work (Detail: The
  2268.     backup file is renamed to the patchmode file after the new file has
  2269.     been successfully written, that's why it must be possible to write a
  2270.     backup file).  If there was no file to be backed up, an empty file is
  2271.     created.
  2272.  
  2273.                         *'path'* *'pa'*
  2274. 'path' 'pa'        string    (default on Unix: ".,/usr/include,,"
  2275.                    on OS/2:       ".,/emx/include,,"
  2276.                    other systems: ".,,")
  2277.             global
  2278.             {not in Vi}
  2279.     This is a list of directories which will be searched when using the
  2280.     gf, [f, ]f, ^Wf and other commands, provided that the file being
  2281.     searched for has a relative path (not starting with '/').  The
  2282.     directories in the 'path' option may be relative or absolute.
  2283.     - Use commas to separate directory names:
  2284.         :set path=.,/usr/local/include,/usr/include
  2285.     - Spaces can also be used to separate directory names (for backwards
  2286.       compatibility with version 3.0).  To have a space in a directory
  2287.       name, precede it with an extra backslash, and escape the space:
  2288.         :set path=.,/dir/with\\\ space
  2289.     - To include a comma in a directory name precede it with an extra
  2290.       backslash:
  2291.         :set path=.,/dir/with\\,comma
  2292.     - To search relative to the directory where the current file is use
  2293.         :set path=.
  2294.     - To search in the current directory use an empty string between two
  2295.       commas:
  2296.         :set path=,,
  2297.     - A directory name may end in a ':' or '/'.
  2298.     - Environment variables are expanded |:set_env|.
  2299.     - Use wildcards to specify directories more freely, e.g.,
  2300.         :set path=/usr/include/*
  2301.       means all subdirectories below /usr/include (but not /usr/include
  2302.       itself).
  2303.     - Use '**' if you want the whole subtree to be searched:
  2304.         :set path=/home/user_x/src/**
  2305.       means search in the whole subtree under "/home/usr_x/src". (to avoid
  2306.       endless recursions, the depth is restricted to 100 levels)
  2307.     - Give wildcards and recursions in any order:
  2308.         :set path=/**/include/**
  2309.       specifies a path with at least one directory /include/ in it.
  2310.     - The set of allowed wildcards and the possible usage depend on the
  2311.       operating system, but /etc/*/etc and /etc/**/etc work on any
  2312.       system. |:_%<|
  2313.     - Careful with '\' characters, type two to get one in the option:
  2314.         :set path=.,c:\\include
  2315.       Or just use '/' instead:
  2316.         :set path=.,c:/include
  2317.     Don't forget "." or files won't even be found in the same directory as
  2318.     the file!
  2319.     The maximum length is limited.  How much depends on the system, mostly
  2320.     it is something like 256 or 1024 characters.
  2321.     You can check if all the include files are found, using the value of
  2322.     'path', see |:checkpath|.
  2323.     The use of |:set+=| and |:set-=| is preferred when adding or removing
  2324.     directories from the list.  This avoids problems when a future version
  2325.     uses another default.  To remove the current directory use:
  2326.         :set path-=
  2327.     To add the current directory use:
  2328.         :set path+=
  2329.  
  2330.                    *'readonly'* *'ro'* *'noreadonly'* *'noro'*
  2331. 'readonly' 'ro'        boolean    (default off)
  2332.             local to buffer
  2333.             {not in Vi}
  2334.     If on, writes fail unless you use a '!'.  Protects you from
  2335.     accidentally overwriting a file.  Default on when Vim is started
  2336.     in read-only mode ("vim -R") or when the executable is called "view".
  2337.     {not in Vi:}  When using the ":view" command the 'readonly' option is
  2338.     set for the newly edited buffer.  When using ":w!" the 'readonly'
  2339.     option is reset for the current buffer.
  2340.  
  2341.                         *'remap'* *'noremap'*
  2342. 'remap'            boolean    (default on)
  2343.             global
  2344.     Allows for mappings to work recursively.  If you do not want this for
  2345.     a single entry, use the :noremap[!] command.
  2346.  
  2347.                         *'report'*
  2348. 'report'        number    (default 2)
  2349.             global
  2350.     Threshold for reporting number of lines changed.  When the number of
  2351.     changed lines is more than 'report' a message will be given for most
  2352.     ":" commands.  For the ":substitute" command the number of
  2353.     substitutions is used instead of the number of lines.
  2354.  
  2355.              *'restorescreen'* *'rs'* *'norestorescreen'* *'nors'*
  2356. 'restorescreen' 'rs'    boolean    (default on)
  2357.             global
  2358.             {not in Vi}  {Windows 95/NT version only}
  2359.     When set, the screen contents is restored when exiting Vim.  This also
  2360.     happens when executing external commands.
  2361.  
  2362.     For non-Windows Vim: You can set or reset the 't_ti' and 't_te'
  2363.     options in your .vimrc.  To disable restoring:
  2364.         set t_ti= t_te=
  2365.     To enable restoring (for an xterm):
  2366.         set t_ti=^[7^[[r^[[?47h t_te=^[[?47l^[8
  2367.     (Where ^[ is an <Esc>, type CTRL-V <Esc> to insert it)
  2368.  
  2369.                        *'revins'* *'ri'* *'norevins'* *'nori'*
  2370. 'revins' 'ri'        boolean    (default off)
  2371.             global
  2372.             {not in Vi}
  2373.             {only available when compiled with the |+rightleft|
  2374.             feature}
  2375.     Inserting characters in Insert mode will work backwards.  See "typing
  2376.     backwards" |ins-reverse|.  This option can be toggled with the CTRL-_
  2377.     command in Insert mode, when 'allowrevins' is set.  This option is
  2378.     reset when 'compatible' or 'paste' is set.
  2379.  
  2380.                  *'rightleft'* *'rl'* *'norightleft'* *'norl'*
  2381. 'rightleft' 'rl'    boolean    (default off)
  2382.             local to window
  2383.             {not in Vi}
  2384.             {only available when compiled with the |+rightleft|
  2385.             feature}
  2386.     When on, display orientation becomes right-to-left, i.e., character
  2387.     that are stored in the file appear from the right to the left.  Using
  2388.     this option, it is possible to edit files for languages that are
  2389.     written from the right to the left such as Hebrew and Arabic.  This
  2390.     option is per window, so it is possible to edit mixed files
  2391.     simultaneously, or to view the same file in both ways (this is
  2392.     sometimes usefull when editing Hebrew TeX--XeT files).  See
  2393.     |rightleft.txt|.
  2394.  
  2395.                      *'ruler'* *'ru'* *'noruler'* *'noru'*
  2396. 'ruler' 'ru'        boolean    (default off)
  2397.             global
  2398.             {not in Vi}
  2399.     Show the line and column number of the cursor position, separated by a
  2400.     comma.  Each window has its own ruler.
  2401.     If a window has a status line, the ruler is shown there.  Otherwise it
  2402.     is shown in the last line of the screen.
  2403.     If there are characters in the line that take two positions on the
  2404.     screen, both the "real" column and the screen column are shown,
  2405.     separated with a dash.
  2406.     For an empty line "0-1" is shown.
  2407.     For an empty buffer the line number will also be zero: "0,0-1".
  2408.     This option is reset when the 'paste' option is set.
  2409.     If you don't want to see the ruler all the time but want to know where
  2410.     you are, use "g CTRL-G" |g_CTRL-G|.
  2411.  
  2412.                         *'scroll'* *'scr'*
  2413. 'scroll' 'scr'        number    (default 'lines' / 2)
  2414.             local to window
  2415.     Number of lines to scroll with CTRL-U and CTRL-D commands.  Will be
  2416.     set to half the number of lines in the window when the window size
  2417.     changes.  If you give a count to the CTRL-U or CTRL-D command it will
  2418.     be used as the new value for 'scroll'.  Reset to 'lines' / 2 with
  2419.     ":set scroll=0".   {Vi is a bit different: 'scroll' gives the number
  2420.     of screen lines instead of file lines, makes a difference when lines
  2421.     wrap}
  2422.  
  2423.                         *'scrolljump'* *'sj'*
  2424. 'scrolljump' 'sj'    number    (default 1)
  2425.             global
  2426.             {not in Vi}
  2427.     Minimal number of lines to scroll when the cursor gets off the
  2428.     screen (e.g., with "j").  Not used for scroll commands (e.g., CTRL-E,
  2429.     CTRL-D).  Useful if your terminal scrolls very slowly.
  2430.  
  2431.                         *'scrolloff'* *'so'*
  2432. 'scrolloff' 'so'    number    (default 0)
  2433.             global
  2434.             {not in Vi}
  2435.     Minimal number of screen lines to keep above and below the cursor.
  2436.     This will make some context visible around where you are working.  If
  2437.     you set it to a very large value (999) the cursor line will always be
  2438.     in the middle of the window (except at the start or end of the file or
  2439.     when long lines wrap).
  2440.  
  2441.                         *'sections'* *'sect'*
  2442. 'sections' 'sect'        string    (default "SHNHH HUnhsh")
  2443.             global
  2444.     Specifies the nroff macros that separate sections.  These are pairs of
  2445.     two letters (See |object-motions|).  The default makes a section start
  2446.     at the nroff macros ".SH", ".NH", ".H", ".HU", ".nh" and ".sh".
  2447.  
  2448.                         *'secure'* *'nosecure'*
  2449. 'secure'        boolean    (default off)
  2450.             global
  2451.             {not in Vi}
  2452.     When on, ":autocmd", shell and write commands are not allowed in
  2453.     ".vimrc" and ".exrc" in the current directory and map commands are
  2454.     displayed.  Switch it off only if you know that you will not run into
  2455.     problems, or when the 'exrc' option is off.  On Unix this option is
  2456.     only used if the ".vimrc" or ".exrc" is not owned by you.  This can be
  2457.     dangerous if the systems allows users to do a "chown".  You better set
  2458.     'secure' at the end of your ~/.vimrc then.
  2459.  
  2460.                         *'selection'* *'sel'*
  2461. 'selection' 'sel'    string    (default "inclusive")
  2462.             global
  2463.             {not in Vi}
  2464.     This option defines the behaviour of the selection.  It is only used
  2465.     in Visual and Select mode.
  2466.     Possible values:
  2467.        value    past line     inclusive ~
  2468.        old           no        yes
  2469.        inclusive       yes        yes
  2470.        exclusive       yes        no
  2471.     "past line" means that the cursor is allowed to be positioned one
  2472.     character past the line.
  2473.     "inclusive" means that the last character of the selection is included
  2474.     in an operation.  For example, when "x" is used to delete the
  2475.     selection.
  2476.  
  2477.     The 'selection' option is set by the |:behave| command.
  2478.  
  2479.                         *'selectmode'* *'slm'*
  2480. 'selectmode' 'slm'    string    (default "")
  2481.             global
  2482.             {not in Vi}
  2483.     This is a comma separated list of words, which specifies when to start
  2484.     Select mode instead of Visual mode, when a selection is started.
  2485.     Possible values:
  2486.        mouse    when using the mouse
  2487.        key        when using shifted special keys
  2488.        cmd        when using "v", "V" or CTRL-V
  2489.     See |Select-mode|.
  2490.     The 'selectmode' option is set by the |:behave| command.
  2491.  
  2492.                         *'sessionoptions'* *'ssop'*
  2493. 'sessionoptions' 'ssop'    string    (default "winsize,options")
  2494.             global
  2495.             {not in Vi}
  2496.     Changes the effect of the |:mksession| command.  It is a comma
  2497.     separated list of words.  Each word enables saving and restoring
  2498.     something:
  2499.        word        save and restore ~
  2500.        options    options and mappings
  2501.        winsize    window sizes (where possible)
  2502.        resize    size of the screen: 'lines' and 'columns'
  2503.  
  2504.                         *'shell'* *'sh'*
  2505. 'shell' 'sh'        string    (default $SHELL or "sh",
  2506.                     MS-DOS and Win32: "command",
  2507.                     OS/2: "cmd")
  2508.             global
  2509.     Name of the shell to use for ! and :! commands.  When changing the
  2510.     value also check the 'shelltype', 'shellpipe' and 'shellredir'
  2511.     options.  It is allowed to give an argument to the command, e.g.
  2512.     "csh -f".  See |option-backslash| about including spaces and
  2513.     backslashes.  Environment variables are expanded |:set_env|.
  2514.     For Dos 32 bits (DJGPP), you can set the $DJSYSFLAGS environment
  2515.     variable to change the way external commands are executed.  See the
  2516.     libc.inf file of DJGPP.
  2517.  
  2518.                         *'shellcmdflag'* *'shcf'*
  2519. 'shellcmdflag' 'shcf'    string    (default: "-c", MS-DOS and Win32, when 'shell'
  2520.                     does not contain "sh" somewhere: "/c")
  2521.             global
  2522.             {not in Vi}
  2523.     Flag passed to the shell to execute "!" and ":!" commands; e.g.,
  2524.     "bash.exe -c ls" or "command.com /c dir".  For the MS-DOS-like
  2525.     systems, the default is set according to the value of 'shell', to
  2526.     reduce the need to set this option by the user.  It's not used for
  2527.     OS/2 (EMX figures this out itself).  See |option-backslash| about
  2528.     including spaces and backslashes.  See |dos-shell|.
  2529.  
  2530.                         *'shellpipe'* *'sp'*
  2531. 'shellpipe' 'sp'    string    (default ">", "| tee", "|& tee" or "2>&1| tee")
  2532.             global
  2533.             {not in Vi}
  2534.     String to be used to put the output of the ":make" command in the
  2535.     error file.  See also |:make_makeprg|.  See |option-backslash| about
  2536.     including spaces and backslashes.
  2537.     For the Amiga and MS-DOS the default is ">".  The output is directly
  2538.     saved in a file and not echoed to the screen.
  2539.     For Unix the default it "| tee".  The stdout of the compiler is saved
  2540.     in a file and echoed to the screen.  If the 'shell' option is "csh" or
  2541.     "tcsh" after initializations, the default becomes "|& tee".  If the
  2542.     'shell' option is "sh", "ksh", "zsh" or "bash" the default becomes
  2543.     "2>&1| tee".  This means that stderr is also included.
  2544.     The initialization of this option is done after reading the ".vimrc"
  2545.     and the other initializations, so that when the 'shell' option is set
  2546.     there, the 'shellpipe' option changes automatically, unless it was
  2547.     explicitly set before.
  2548.     When 'shellpipe' is set to an empty string, no redirection of the
  2549.     ":make" output will be done.  This is useful if you use a 'makeprg'
  2550.     that writes to 'makeef' by itself.  If you want no piping, but do
  2551.     want to include the 'makeef', set 'shellpipe' to a single space.
  2552.     Don't forget to precede the space with a backslash: ":set sp=\ ".
  2553.     In the future pipes may be used for filtering and this option will
  2554.     become obsolete (at least for Unix).
  2555.  
  2556.                         *'shellquote'* *'shq'*
  2557. 'shellquote' 'shq'    string    (default: ""; MS-DOS and Win32, when 'shell'
  2558.                     contains "sh" somewhere: "\"")
  2559.             global
  2560.             {not in Vi}
  2561.     Quoting character(s), put around the command passed to the shell, for
  2562.     the "!" and ":!" commands.  The redirection is kept outside of the
  2563.     quoting.  See 'shellxquote' to include the redirection.  It's
  2564.     probably not useful to set both options.
  2565.     This is an empty string by default.  Only known to be useful for
  2566.     third-party shells on MS-DOS-like systems, such as the MKS Korn Shell
  2567.     or bash, where it should be "\"".  The default is adjusted according
  2568.     the value of 'shell', to reduce the need to set this option by the
  2569.     user.  See |dos-shell|.
  2570.  
  2571.                         *'shellredir'* *'srr'*
  2572. 'shellredir' 'srr'    string    (default ">", ">&" or ">%s 2>&1")
  2573.             global
  2574.             {not in Vi}
  2575.     String to be used to put the output of a filter command in a temporary
  2576.     file.  See also |:!|.  See |option-backslash| about including spaces
  2577.     and backslashes.
  2578.     The name of the temporary file can be represented by "%s" if necessary
  2579.     (the file name is appended automatically if no %s appears in the value
  2580.     of this option).
  2581.     The default is ">".  For Unix, if the 'shell' option is "csh", "tcsh"
  2582.     or "zsh" during initializations, the default becomes ">&".  If the
  2583.     'shell' option is "sh", "ksh" or "bash" the default becomes
  2584.     ">%s 2>&1".  This means that stderr is also included.
  2585.     The initialization of this option is done after reading the ".vimrc"
  2586.     and the other initializations, so that when the 'shell' option is set
  2587.     there, the 'shellredir' option changes automatically unless it was
  2588.     explicitly set before.
  2589.     In the future pipes may be used for filtering and this option will
  2590.     become obsolete (at least for Unix).
  2591.  
  2592.                         *'shelltype'* *'st'*
  2593. 'shelltype' 'st'    number    (default 0)
  2594.             global
  2595.             {not in Vi}
  2596.     On the Amiga this option influences the way how the commands work
  2597.     which use a shell.
  2598.     0 and 1: always use the shell
  2599.     2 and 3: use the shell only to filter lines
  2600.     4 and 5: use shell only for ':sh' command
  2601.     When not using the shell, the command is executed directly.
  2602.  
  2603.     0 and 2: use "shell 'shellcmdflag' cmd" to start external commands
  2604.     1 and 3: use "shell cmd" to start external commands
  2605.  
  2606.                         *'shellxquote'* *'sxq'*
  2607. 'shellxquote' 'sxq'    string    (default: "";
  2608.                     for Win32, when 'shell' contains "sh"
  2609.                     somewhere: "\""
  2610.                     for Unix, when using system(): "\"")
  2611.             global
  2612.             {not in Vi}
  2613.     Quoting character(s), put around the command passed to the shell, for
  2614.     the "!" and ":!" commands.  Includes the redirection.  See
  2615.     'shellxquote' to exclude the redirection.  It's probably not useful
  2616.     to set both options.
  2617.     This is an empty string by default.  Known to be useful for
  2618.     third-party shells when using the Win32 version, such as the MKS Korn
  2619.     Shell or bash, where it should be "\"".  The default is adjusted
  2620.     according the value of 'shell', to reduce the need to set this option
  2621.     by the user.  See |dos-shell|.
  2622.  
  2623.                    *'shiftround'* *'sr'* *'noshiftround'* *'nosr'*
  2624. 'shiftround' 'sr'    boolean    (default off)
  2625.             global
  2626.             {not in Vi}
  2627.     Round indent to multiple of 'shiftwidth'.  Applies to > and <
  2628.     commands.  CTRL-T and CTRL-D in Insert mode always round the indent to
  2629.     a multiple of 'shiftwidth' (this is vi compatible).
  2630.  
  2631.                         *'shiftwidth'* *'sw'*
  2632. 'shiftwidth' 'sw'    number    (default 8)
  2633.             local to buffer
  2634.     Number of spaces to use for each step of (auto)indent.
  2635.  
  2636.                         *'shortmess'* *'shm'*
  2637. 'shortmess' 'shm'    string    (default "")
  2638.             global
  2639.             {not in Vi}
  2640.     This option helps to avoid all the |hit-return| prompts caused by file
  2641.     messages, for example  with CTRL-G, and to avoid some other messages.
  2642.     It is a list of flags:
  2643.      flag    meaning when present    ~
  2644.       f    use "(3 of 5)" instead of "(file 3 of 5)"
  2645.       i    use "[noeol]" instead of "[Incomplete last line]"
  2646.       l    use "999L, 888C" instead of "999 lines, 888 characters"
  2647.       m    use "[+]" instead of "[Modified]"
  2648.       n    use "[New]" instead of "[New File]"
  2649.       r    use "[RO]" instead of "[readonly]"
  2650.       w    use "[w]" instead of "written" for file write message.
  2651.       x    use "[dos]" instead of "[dos format]", "[unix]" instead of
  2652.         "[unix format]" and "[mac]" instead of "[mac format]".
  2653.       a    all of the above abbreviations
  2654.  
  2655.       o    overwrite message for writing a file with subsequent message
  2656.         for reading a file (useful for ":wn" or when 'autowrite' on)
  2657.       O    message for reading a file overwrites any previous message.
  2658.         usually only set temporarily in scripts.
  2659.       s    don't give "search hit BOTTOM, continuing at TOP" or "search
  2660.         hit TOP, continuing at BOTTOM" messages
  2661.       t    truncate file message at the start if it is too long to fit
  2662.         on the command-line, "<" will appear in the left most column.
  2663.       W    don't give "written" or "[w]" when writing a file
  2664.       A    don't give the "ATTENTION" message when an existing swap file
  2665.         is found.
  2666.       I    don't give the intro message when starting Vim |:intro|.
  2667.  
  2668.     This gives you the opportunity to avoid that a change between buffers
  2669.     requires you to hit return, but still gives as useful a message as
  2670.     possible for the space available.  To get the whole message that you
  2671.     would have got with 'shm' empty, use ":file!"
  2672.     Useful values:
  2673.         shm=    No abbreviation of message.
  2674.         shm=a    Abbreviation, but no loss of information.
  2675.         shm=at    Abbreviation, and truncate message when necessary.
  2676.  
  2677.                  *'shortname'* *'sn'* *'noshortname'* *'nosn'*
  2678. 'shortname' 'sn'    boolean    (default off)
  2679.             local to buffer
  2680.             {not in Vi, not in MS-DOS versions}
  2681.     Filenames are assumed to be 8 characters plus one extension of 3
  2682.     characters.  Multiple dots in file names are not allowed.  When this
  2683.     option is on, dots in file names are replaced with underscores when
  2684.     adding an extension (".~" or ".swp").  This option is not available
  2685.     for MS-DOS, because then it would always be on.  This option is useful
  2686.     when editing files on an MS-DOS compatible filesystem, e.g., messydos
  2687.     or crossdos.  When running the Win32 GUI version under Win32s, this
  2688.     option is always on by default.
  2689.  
  2690.                         *'showbreak'* *'sbr'*
  2691. 'showbreak' 'sbr'    string    (default "")
  2692.             global
  2693.             {not in Vi}
  2694.     String to put at the start of lines that have been wrapped.  Useful
  2695.     values are "> " or "+++ ".  Only printable characters are allowed,
  2696.     excluding <Tab> and comma (in a future version the comma might be used
  2697.     to separate the part that is shown at the end and at the start of a
  2698.     line).  The characters are highlighted according to the '@' flag in
  2699.     'highlight'.
  2700.  
  2701.                      *'showcmd'* *'sc'* *'noshowcmd'* *'nosc'*
  2702. 'showcmd' 'sc'        boolean    (Vim default: on, off for Unix, Vi default:
  2703.                  off)
  2704.             global
  2705.             {not in Vi}
  2706.             {not available when compiled without the  |+showcmd|
  2707.             feature}
  2708.     Show (partial) command in status line.  Set this option off if your
  2709.     terminal is slow.
  2710.  
  2711.                         *'showfulltag'* *'sft'*
  2712. 'showfulltag' 'sft'    boolean (default off)
  2713.             global
  2714.             {not in Vi}
  2715.     When completing a word in insert mode (see |ins-completion|) from the
  2716.     tags file, show both the tag name and a tidied-up form of the search
  2717.     pattern (if there is one) as possible matches.  Thus, if you have
  2718.     matched a C function, you can see a template for what arguments are
  2719.     required (coding style permitting).
  2720.  
  2721.                  *'showmatch'* *'sm'* *'noshowmatch'* *'nosm'*
  2722. 'showmatch' 'sm'    boolean    (default off)
  2723.             global
  2724.     When a bracket is inserted, briefly jump to the matching one.  The
  2725.     jump is only done if the match can be seen on the screen.  The time to
  2726.     show the match can be set with 'matchtime'.
  2727.     A Beep is given if there is no match (no matter if the match can be
  2728.     seen or not).  This option is reset when the 'paste' option is set.
  2729.     When the 'm' flag is not included in 'cpoptions', typing a character
  2730.     will immediately move the cursor back to where it belongs.
  2731.     See the "sm" field in 'guicursor' for setting the cursor shape and
  2732.     blinking when showing the match.
  2733.  
  2734.                  *'showmode'* *'smd'* *'noshowmode'* *'nosmd'*
  2735. 'showmode' 'smd'    boolean    (Vim default: on, Vi default: off)
  2736.             global
  2737.     If in Insert, Replace or Visual mode put a message on the last line.
  2738.     Use the 'M' flag in 'highlight' to set the type of highlighting for
  2739.     this message.
  2740.  
  2741.                         *'sidescroll'* *'ss'*
  2742. 'sidescroll' 'ss'    number    (default 0)
  2743.             global
  2744.             {not in Vi}
  2745.     The minimal number of columns to scroll horizontally.  Used only when
  2746.     the 'wrap' option is off and the cursor is moved off of the screen.
  2747.     When it is zero the cursor will be put in the middle of the screen.
  2748.     When using a slow terminal set it to a large number or 0.  When using
  2749.     a fast terminal use a small number or 1.  Not used for "zh" and "zl"
  2750.     commands.
  2751.  
  2752.                    *'smartcase'* *'scs'* *'nosmartcase'* *'noscs'*
  2753. 'smartcase' 'scs'    boolean    (default off)
  2754.             global
  2755.             {not in Vi}
  2756.     Override the 'ignorecase' option if the search pattern contains upper
  2757.     case characters.  Only used when the search pattern is typed and
  2758.     'ignorecase' option is on.  Used for the commands "/", "?", "n", "N",
  2759.     ":g" and ":s".  Not used for "*", "#", "gd", tag search, etc..
  2760.  
  2761.                  *'smartindent'* *'si'* *'nosmartindent'* *'nosi'*
  2762. 'smartindent' 'si'    boolean    (default off)
  2763.             local to buffer
  2764.             {not in Vi}
  2765.             {not available when compiled without the
  2766.             |+smartindent| feature}
  2767.     Do smart autoindenting when starting a new line.  Works for C-like
  2768.     programs, but can also be used for other languages.  'cindent' does
  2769.     something like this, works better in most cases, but is more strict,
  2770.     see |C-indenting|.  When 'cindent' is on, setting 'si' has no effect.
  2771.     Normally 'autoindent' should also be on when using 'smartindent'.
  2772.     An indent is automatically inserted:
  2773.     - After a line ending in '{'.
  2774.     - After a line starting with a keyword from 'cinwords'.
  2775.     - Before a line starting with '}' (only with the "O" command).
  2776.     When typing '}' as the first character in a new line, that line is
  2777.     given the same indent as the matching '{'.
  2778.     When typing '#' as the first character in a new line, the indent for
  2779.     that line is removed, the '#' is put in the first column.  The indent
  2780.     is restored for the next line.  If you don't want this, use this
  2781.     mapping: ":inoremap # X^H#", where ^H is entered with CTRL-V CTRL-H.
  2782.     When using the ">>" command, lines starting with '#' are not shifted
  2783.     right.
  2784.     'smartindent' is reset when the 'paste' option is set.
  2785.  
  2786.                  *'smarttab'* *'sta'* *'nosmarttab'* *'nosta'*
  2787. 'smarttab' 'sta'    boolean    (default off)
  2788.             global
  2789.             {not in Vi}
  2790.     When on, a <Tab> in front of a line inserts blanks according to
  2791.     'shiftwidth'.  'tabstop' is used in other places.
  2792.     When off a <Tab> always inserts blanks according to 'tabstop'.
  2793.     'shiftwidth' is only used for shifting text left or right
  2794.     |shift-left-right|.
  2795.     What gets inserted (a Tab or spaces) depends on the 'expandtab'
  2796.     option.  Also see |ins-expandtab|.
  2797.  
  2798.                     *'softtabstop'* *'sts'*
  2799. 'softtabstop' 'sts'    number    (default 0)
  2800.             local to buffer
  2801.             {not in Vi}
  2802.     Number of spaces that a <Tab> counts for while performing editing
  2803.     operations, like inserting a <Tab> or using <BS>.  It "feels" like
  2804.     <Tab>s are being inserted, while in fact a mix of spaces and <Tab>s is
  2805.     used.  This is useful to keep the 'ts' setting at its standard value
  2806.     of 8, while being able to edit like it is set to 'sts'.  However,
  2807.     commands like "x" still work on the actual characters.
  2808.     When 'sts' is zero, this feature is off.
  2809.     'softtabstop' is set to 0 when the 'paste' option is set.
  2810.     See also |ins-expandtab|.
  2811.  
  2812.                    *'splitbelow'* *'sb'* *'nosplitbelow'* *'nosb'*
  2813. 'splitbelow' 'sb'    boolean    (default off)
  2814.             global
  2815.             {not in Vi}
  2816.     When on, spliting a window will put the new window below the current
  2817.     one.
  2818.  
  2819.                *'startofline'* *'sol'* *'nostartofline'* *'nosol'*
  2820. 'startofline' 'sol'    boolean    (default on)
  2821.             global
  2822.             {not in Vi}
  2823.     When on the commands listed below move the cursor to the first
  2824.     blank of the line.  When off the cursor is kept in the same column
  2825.     (if possible).  This applies to the commands: CTRL-D, CTRL-U, CTRL-B,
  2826.     CTRL-F, "G", "H", "M", "L", , and to the commands "d", "<<" and ">>"
  2827.     with a linewise operator, with "%" with a count and to buffer changing
  2828.     commands (CTRL-^, :bnext, :bNext, etc.).  In case of buffer changing
  2829.     commands the cursor is placed at the column where it was the last time
  2830.     the buffer was edited.  This option is set when the 'compatible'
  2831.     option is set.
  2832.  
  2833.                         *'suffixes'* *'su'*
  2834. 'suffixes' 'su'        string    (default ".bak,~,.o,.h,.info,.swp")
  2835.             global
  2836.             {not in Vi}
  2837.     Files with these suffixes get a lower priority when multiple files
  2838.     match a wildcard.  See |suffixes|.  Commas can be used to separate the
  2839.     suffixes.  Spaces after the comma are ignored.  A dot is also seen as
  2840.     the start of a suffix.  To include a dot or comma in a suffix, precede
  2841.     it with a backslash (see |option-backslash| about including spaces and
  2842.     backslashes).
  2843.     See 'wildignore' for completely ignoring files.
  2844.     The use of |:set+=| and |:set-=| is preferred when adding or removing
  2845.     suffixes from the list.  This avoids problems when a future version
  2846.     uses another default.
  2847.  
  2848.                 *'swapfile'* *'swf'* *'noswapfile'* *'noswf'*
  2849. 'swapfile' 'swf'    boolean (default on)
  2850.             local to buffer
  2851.             {not in Vi}
  2852.     Use a swapfile for the buffer.  This option can be reset when a
  2853.     swapfile is not wanted for a specific buffer.  For example, with
  2854.     confidential information that even root must not be able to access.
  2855.     Careful: All text will be in memory.  Don't use this for big files.
  2856.     Recovery will be impossible!
  2857.     A swapfile will only be present when |'updatecount'| is non-zero and
  2858.     'swapfile' is set.
  2859.     When 'swapfile' is reset, the swap file for the current buffer is
  2860.     immediately deleted.  When 'swapfile' is set, and 'updatecount' is
  2861.     non-zero, a swap file is immediately created.
  2862.  
  2863.                         *'swapsync'* *'sws'*
  2864. 'swapsync' 'sws'    string    (default "fsync")
  2865.             global
  2866.             {not in Vi}
  2867.     When this option is not empty a swap file is synced to disk after
  2868.     writing to it.  This takes some time, especially on busy unix systems.
  2869.     When this option is empty parts of the swap file may be in memory and
  2870.     not written to disk.  When the system crashes you may lose more work.
  2871.     On Unix the system does a sync now and then without Vim asking for it,
  2872.     so the disadvantage of setting this option off is small.  On some
  2873.     systems the swap file will not be written at all.  For a unix system
  2874.     setting it to "sync" will use the sync() call instead of the default
  2875.     fsync(), which may work better on some systems.
  2876.  
  2877.                         *'syntax'* *'syn'*
  2878. 'syntax' 'syn'        string  (default emtpy)
  2879.             local to buffer
  2880.             {not in Vi}
  2881.             {only available when compiled with the |+syntax|
  2882.             feature}
  2883.     When this option is set, the syntax with this name is loaded.
  2884.     Otherwise this option does not always reflect the current syntax (the
  2885.     b:current_syntax variable does).
  2886.     This option is most useful in a modeline, for a file which syntax is
  2887.     not automatically recognized.  Example, for in an IDL file:
  2888. >        /* vim: set syntax=idl : */
  2889.  
  2890.                     *'tabstop'* *'ts'*
  2891. 'tabstop' 'ts'        number    (default 8)
  2892.             local to buffer
  2893.     Number of spaces that a <Tab> in the file counts for.  Also see
  2894.     |:retab| command, and 'softtabstop' option.
  2895.  
  2896.             *'tagbsearch'* *'tbs'* *'notagbsearch'* *'notbs'*
  2897. 'tagbsearch' 'tbs'    boolean    (default on)
  2898.             global
  2899.             {not in Vi}
  2900.     When searching for a tag (e.g., for the |:ta| command), Vim can either
  2901.     use a binary search or a linear search in a tags file.  Binary
  2902.     searching makes searching for a tag a LOT faster, but a linear search
  2903.     will find more tags if the tags file wasn't properly sorted.
  2904.     Vim normally assumes that your tags files are sorted, or indicate that
  2905.     they are not sorted.  Only when this is not the case does the
  2906.     'tagbsearch' option need to be switched off.
  2907.  
  2908.     When 'tagbsearch' is on, binary searching is first used in the tags
  2909.     files.  In certain situations, Vim will do a linear search instead for
  2910.     certain files, or retry all files with a linear search.  When
  2911.     'tagbsearch' is off, only a linear search is done.
  2912.  
  2913.     Linear searching is done anyway, for one file, when Vim finds a line
  2914.     at the start of the file indicating that it's not sorted:
  2915. >  !_TAG_FILE_SORTED    0    /some command/
  2916.     [The whitespace before and after the '0' must be a single <Tab>]
  2917.  
  2918.     When a binary search was done and no match was found in any of the
  2919.     files listed in 'tags', and 'ignorecase' is set or a pattern is used
  2920.     instead of a normal tag name, a retry is done with a linear search.
  2921.     Tags in unsorted tags files, and matches with different case will only
  2922.     be found in the retry.
  2923.  
  2924.     When 'tagbsearch' is off, tags searching is slower when a full match
  2925.     exists, but faster when no full match exists.  Tags in unsorted tags
  2926.     files may only be found with 'tagbsearch' off.
  2927.     When the tags file is not sorted, or sorted in a wrong way (not on
  2928.     ASCII byte value), 'tagbsearch' should be off, or the line given above
  2929.     must be included in the tags file.
  2930.     This option doesn't affect commands that find all matching tags (e.g.,
  2931.     command-line completion and ":help").
  2932.     {Vi: always uses binary search in some versions}
  2933.  
  2934.                         *'taglength'* *'tl'*
  2935. 'taglength' 'tl'    number    (default 0)
  2936.             global
  2937.     If non-zero, tags are significant up to this number of characters.
  2938.  
  2939.             *'tagrelative'* *'tr'* *'notagrelative'* *'notr'*
  2940. 'tagrelative' 'tr'    boolean    (Vim default: on, Vi default: off)
  2941.             global
  2942.             {not in Vi}
  2943.     If on and using a tag file in another directory, file names in that
  2944.     tag file are relative to the directory where the tag file is.  When
  2945.     the 'compatible' option is set, this option is reset.
  2946.  
  2947.                         *'tags'* *'tag'*
  2948. 'tags' 'tag'        string    (default "./tags,tags", when compiled with
  2949.                 |+emacs_tags|: "./tags,./TAGS,tags,TAGS")
  2950.             global
  2951.     Filenames for the tag command, separated by spaces or commas.  To
  2952.     include a space or comma in a file name, precede it with a backslash
  2953.     (see |option-backslash| about including spaces and backslashes).
  2954.     When a file name starts with "./", the '.' is replaced with the path
  2955.     of the current file.  But only when the 'd' flag is not included in
  2956.     'cpoptions'.  Environment variables are expanded |:set_env|.  Also see
  2957.     |tags-option|.
  2958.     If Vim was compiled with the |+emacs_tags| feature, Emacs-style tag
  2959.     files are also supported.  They are automatically recognized.  The
  2960.     default value becomes "./tags,./TAGS,tags,TAGS".  |emacs-tags|
  2961.     The use of |:set+=| and |:set-=| is preferred when adding or removing
  2962.     file names from the list.  This avoids problems when a future version
  2963.     uses another default.
  2964.     {Vi: default is "tags /usr/lib/tags"}
  2965.  
  2966.                         *'term'*
  2967. 'term'            string    (default is $TERM, if that fails:
  2968.                       in the GUI: "builtin_gui"
  2969.                     on Amiga: "amiga"
  2970.                      on BeOS: "beos-ansi"
  2971.                       on Mac: "mac-ansi"
  2972.                      on MiNT: "vt52"
  2973.                        on MS-DOS: "pcterm"
  2974.                      on OS/2: "os2ansi"
  2975.                      on Unix: "ansi"
  2976.                       on VMS: "ansi"
  2977.                        on Win 32: "win32")
  2978.             global
  2979.     Name of the terminal.  Used for choosing the terminal control
  2980.     characters.  Environment variables are expanded |:set_env|.
  2981.     For example:
  2982. >        :set term=$TERM
  2983.     See |termcap|.
  2984.  
  2985.                         *'terse'* *'noterse'*
  2986. 'terse'            boolean    (default off)
  2987.             global
  2988.             {not in Vi}
  2989.     When set: Add 's' flag to 'shortmess' option (this makes the message
  2990.     for a search that hits the start or end of the file not being
  2991.     displayed).  When reset: Remove 's' flag from 'shortmess' option.  {Vi
  2992.     shortens a lot of messages}
  2993.  
  2994.                    *'textauto'* *'ta'* *'notextauto'* *'nota'*
  2995. 'textauto' 'ta'        boolean    (Vim default: on, Vi default: off)
  2996.             global
  2997.             {not in Vi}
  2998.     This option is obsolete.  Use 'fileformats'.
  2999.     For backwards compatibility, when 'textauto' is set, 'fileformats' is
  3000.     set to the default value for the current system.  When 'textauto' is
  3001.     reset, 'fileformats' is made empty.
  3002.  
  3003.                    *'textmode'* *'tx'* *'notextmode'* *'notx'*
  3004. 'textmode' 'tx'        boolean    (MS-DOS, Win32 and OS/2: default on,
  3005.                  others: default off)
  3006.             local to buffer
  3007.             {not in Vi}
  3008.     This option is obsolete.  Use 'fileformat'.
  3009.     For backwards compatibility, when 'textmode' is set, 'fileformat' is
  3010.     set to "dos".  When 'textmode' is reset, 'fileformat' is set to
  3011.     "unix".
  3012.  
  3013.                         *'textwidth'* *'tw'*
  3014. 'textwidth' 'tw'    number    (default 0)
  3015.             local to buffer
  3016.             {not in Vi}
  3017.     Maximum width of text that is being inserted.  A longer line will be
  3018.     broken after white space to get this width.  A zero value disables
  3019.     this.  'textwidth' is set to 0 when the 'paste' option is set.  When
  3020.     'textwidth' is zero, 'wrapmargin' may be used.  See also
  3021.     'formatoptions' and |ins-textwidth|.
  3022.  
  3023.                  *'tildeop'* *'top'* *'notildeop'* *'notop'*
  3024. 'tildeop' 'top'        boolean    (default off)
  3025.             global
  3026.             {not in Vi}
  3027.     When on: The tilde command "~" behaves like an operator.
  3028.  
  3029.                 *'timeout'* *'to'* *'notimeout'* *'noto'*
  3030. 'timeout' 'to'        boolean (default on)
  3031.             global
  3032.                         *'ttimeout'* *'nottimeout'*
  3033. 'ttimeout'        boolean (default off)
  3034.             global
  3035.             {not in Vi}
  3036.     These two options together determine the behaviour when part of a
  3037.     mapped key sequence or keyboard code has been received:
  3038.  
  3039.     timeout        ttimeout    action    ~
  3040.     off        off        no time out
  3041.     on        on or off    time out on :mappings and key codes
  3042.     off        on        time out on key codes
  3043.  
  3044.     If there is no time out, Vim will wait until either the complete
  3045.     mapping or key sequence has been received, or it is clear that there
  3046.     is no mapping or key sequence for the received characters.  For
  3047.     example: if you have mapped "vl" and Vim has received 'v', the next
  3048.     character is needed to see if the 'v' is followed by an 'l'.  With a
  3049.     time out Vim will wait for about 1 second for the next character to
  3050.     arrive.  After that the already received characters are interpreted
  3051.     as single characters.  The waiting time can be changed with the
  3052.     'timeoutlen' option.
  3053.     On slow terminals or very busy systems time out may cause
  3054.     malfunctioning cursor keys.  If both options are off, Vim waits
  3055.     forever after an entered <Esc> if there are key codes that start
  3056.     with <Esc>.  You will have to type <Esc> twice.  If you do not have
  3057.     problems with key codes, but would like to have :mapped key
  3058.     sequences not time out in 1 second, set the ttimeout option and
  3059.     reset the timeout option.
  3060.  
  3061.                         *'timeoutlen'* *'tm'*
  3062. 'timeoutlen' 'tm'    number    (default 1000)
  3063.             global
  3064.             {not in all versions of Vi}
  3065.                         *'ttimeoutlen'* *'ttm'*
  3066. 'ttimeoutlen' 'ttm'    number    (default -1)
  3067.             global
  3068.             {not in Vi}
  3069.     The time in milliseconds that is waited for a key code or mapped key
  3070.     sequence to complete.  Normally only 'timeoutlen' is used and
  3071.     'ttimeoutlen' is -1.  When a different timeout value for key codes is
  3072.     desired set 'ttimeoutlen' to a non-negative number.
  3073.  
  3074.         ttimeoutlen    mapping delay       key code delay    ~
  3075.            < 0        'timeoutlen'       'timeoutlen'
  3076.           >= 0        'timeoutlen'       'ttimeoutlen'
  3077.  
  3078.     The timeout only happens when the 'timeout' and 'ttimeout' options
  3079.     tell so.  A useful setting would be
  3080.         :set timeout timeoutlen=3000 ttimeoutlen=100
  3081.     (time out on mapping after three seconds, time out on key codes after
  3082.     a tenth of a second).
  3083.  
  3084.                         *'title'* *'notitle'*
  3085. 'title'            boolean    (default off, on when title can be restored)
  3086.             global
  3087.             {not in Vi}
  3088.     When on the title of the window will be set to "VIM - filename",
  3089.     where filename is the name of the file currently being edited.  Only
  3090.     works if the terminal supports setting window titles (currently Amiga
  3091.     console, Unix xterm and iris-ansi).  Overridden by the 'titlestring'
  3092.     option.
  3093.                                 *X11*
  3094.     When Vim was compiled with HAVE_X11 defined, the original title will
  3095.     be restored if possible.  The output of ":version" will include "+X11"
  3096.     when HAVE_X11 was defined, otherwise it will be "-X11".  This also
  3097.     works for the icon name |'icon'|.
  3098.     If the title cannot be restored, it is set to "Thanks for flying Vim".
  3099.     You will have to restore the title outside of Vim then.  When using an
  3100.     xterm from a remote machine you can use this command:
  3101.         rsh machine_name xterm -display $DISPLAY &
  3102.     then the WINDOWID environment variable should be inherited and the
  3103.     title of the window should change back to what it should be after
  3104.     exiting Vim (rather than using the "Thanks..." message).
  3105.  
  3106.                                 *'titlelen'*
  3107. 'titlelen'        number    (default 85)
  3108.             global
  3109.             {not in Vi}
  3110.     Gives the percentage of 'columns' to use for the length of the window
  3111.     title.  When the title is longer, only the end of the path name is
  3112.     shown.  A '>' character is used to indicate this.  Using a percentage
  3113.     makes this adapt to the width of the window.  But it won't work
  3114.     perfectly, because the actual number of characters available also
  3115.     depends on the font used and other things in the title bar.  When
  3116.     'titlelen' is zero the full path is used.  Otherwise, values from 1 to
  3117.     30000 can be used.  'titlelen' is not used for the 'titlestring'
  3118.     option.
  3119.  
  3120.                         *'titlestring'*
  3121. 'titlestring'        string    (default "")
  3122.             global
  3123.             {not in Vi}
  3124.     When this options is not empty, it will be used for the title of the
  3125.     window.  This happens regardless of the 'title' or 'titlelen' option.
  3126.     Only works if the terminal supports setting window titles (currently
  3127.     only GUI, Unix xterm and iris-ansi).  When Vim was compiled with
  3128.     HAVE_X11 defined, the original title will be restored if possible
  3129.     |X11|.  Example:
  3130. >   auto BufEnter * let &titlestring = hostname() . "/" . expand("%:p")
  3131.  
  3132.                  *'ttybuiltin'* *'tbi'* *'nottybuiltin'* *'notbi'*
  3133. 'ttybuiltin' 'tbi'    boolean    (default on)
  3134.             global
  3135.             {not in Vi}
  3136.     When on, the builtin termcaps are searched before the external ones.
  3137.     When off the builtin termcaps are searched after the external ones.
  3138.     When this option is changed, you should set the 'term' option next for
  3139.     the change to take effect, for example:
  3140. >        :set notbi term=$TERM
  3141.     See also |termcap|.
  3142.  
  3143.                      *'ttyfast'* *'tf'* *'nottyfast'* *'notf'*
  3144. 'ttyfast' 'tf'        boolean    (default off, on when 'term' is xterm, hpterm,
  3145.                     sun-cmd, scren, dtterm or iris-ansi)
  3146.             global
  3147.             {not in Vi}
  3148.     Indicates a fast terminal connection.  More characters will be sent to
  3149.     the screen for redrawing, instead of using insert/delete line
  3150.     commands.  Improves smoothness of redrawing when there are multiple
  3151.     windows and the terminal does not support a scrolling region.
  3152.     Also enables the extra writing of characters at the end of each screen
  3153.     line for lines that wrap.  This helps when using copy/paste with the
  3154.     mouse in an xterm and other terminals.
  3155.  
  3156.                         *'ttymouse'* *'ttym'*
  3157. 'ttymouse' 'ttym'    string    (default depends on 'term')
  3158.             global
  3159.             {not in Vi}
  3160.             {only in Unix, and not in the GUI}
  3161.     Name of the terminal type for which mouse codes are to be recognized.
  3162.     Currently these three strings are valid:
  3163.        xterm    xterm-like mouse handling.  The mouse generates
  3164.             "<Esc>[Mscr", where "scr" is three bytes:
  3165.                 "s"  = button state
  3166.                 "c"  = column plus 33
  3167.                 "r"  = row plus 33
  3168.        dec        DEC terminal mouse handling.  The mouse generates
  3169.             "<Esc>}r,c<CR>", where "r,c" are two decimal numbers
  3170.             for the row and column.
  3171.        netterm    NetTerm mouse handling.  The mouse generates a rather
  3172.             complex sequence, starting with "<Esc>[".
  3173.     The mouse handling must be enabled at compile time |+mouse_xterm|
  3174.     |+mouse_dec| |+mouse_netterm|.
  3175.     Only "xterm" is really recognized.  DEC mouse codes are always
  3176.     recognized, when enabled at compile time.  NetTerm mouse codes are
  3177.     recognized when enabled at compile time, and 'ttymouse' is not
  3178.     "xterm".
  3179.     This option is automatically set to "xterm", when the 'term' option is
  3180.     set to a name that starts with "xterm".  The main use of this option
  3181.     is to set it to "xterm", when the terminal name doesn't start with
  3182.     "xterm", but it can handle xterm mouse codes.
  3183.  
  3184.                         *'ttyscroll'* *'tsl'*
  3185. 'ttyscroll' 'tsl'    number    (default 999)
  3186.             global
  3187.     Maximum number of lines to scroll the screen.  If there are more lines
  3188.     to scroll the window is redrawn.  For terminals where scrolling is
  3189.     very slow and redrawing is not slow this can be set to a small number,
  3190.     e.g., 3, to speed up displaying.
  3191.  
  3192.                         *'ttytype'* *'tty'*
  3193. 'ttytype'    'tty'        string    (default from $TERM)
  3194.             global
  3195.     Alias for 'term', see above.
  3196.  
  3197.                         *'undolevels'* *'ul'*
  3198. 'undolevels' 'ul'        number    (default 100, 1000 for Unix and OS/2)
  3199.             global
  3200.             {not in Vi}
  3201.     Maximum number of changes that can be undone.  Set to 0 for Vi
  3202.     compatibility: one level of undo and "u" undoes itself.  But you can
  3203.     also get Vi compatibility by including the 'u' flag in 'cpoptions',
  3204.     and still be able to use CTRL-R to repeat undo.  Set to a negative
  3205.     number for no undo at all (saves memory).  Also see |undo-two-ways|.
  3206.  
  3207.                         *'updatecount'* *'uc'*
  3208. 'updatecount' 'uc'    number    (default: 200)
  3209.             global
  3210.             {not in Vi}
  3211.     After typing this many characters the swap file will be written to
  3212.     disk.  When zero, no swap file will be created at all (see chapter on
  3213.     recovery |crash-recovery|).  'updatecount' is set to zero by starting
  3214.     Vim with the "-n" option, see |startup|.  When editing in readonly
  3215.     mode this option will be initialized to 10000.
  3216.     The swapfile can be disabled per buffer with |'swapfile'|.
  3217.     When 'updatecount' is set from non-zero to zero, swap files are
  3218.     created for all buffers that have 'swapfile' set.  When 'updatecount'
  3219.     is set to zero, existing swap files are not deleted.
  3220.     Also see |'swapsync'|.
  3221.  
  3222.                         *'updatetime'* *'ut'*
  3223. 'updatetime' 'ut'    number    (default 4000)
  3224.             global
  3225.             {not in Vi}
  3226.     If this many milliseconds nothing is typed the swap file will be
  3227.     written to disk (see |crash-recovery|).
  3228.  
  3229.                         *'verbose'* *'vbs'*
  3230. 'verbose' 'vbs'        number    (default 0)
  3231.             global
  3232.             {not in Vi}
  3233.     When bigger than zero, Vim will give messages about what it is doing.
  3234.     Currently, these messages are given:
  3235.     >= 1    When a file is ":source"'ed.
  3236.     >= 1    When the viminfo file is read or written.
  3237.     >= 8    Files for which a group of autocommands is executed.
  3238.     >= 9    Every executed autocommand.
  3239.     >=15    Every executed function line.
  3240.  
  3241.     This option can also be set with the "-V" argument.  See |-V|.
  3242.  
  3243.                         *'viminfo'* *'vi'*
  3244.  
  3245. 'viminfo' 'vi'        string    (default "")
  3246.             global
  3247.             {not in Vi}
  3248.             {not available when compiled without the  |+viminfo|
  3249.             feature}
  3250.     When non-empty, the viminfo file is read upon startup and written
  3251.     when exiting Vim (see |viminfo-file|).  The string should be a comma
  3252.     separated list of parameters, each consisting of a single character
  3253.     identifying the particular parameter, followed by a number or string
  3254.     which specifies the value of that parameter.  If a particular
  3255.     character is left out, then the default value is used for that
  3256.     parameter.  The following is a list of the identifying characters and
  3257.     the effect of their value.
  3258.     CHAR    VALUE    ~
  3259.     '    Maximum number of previously edited files for which the marks
  3260.         are remembered.  This parameter must always be included when
  3261.         'viminfo' is non-empty.
  3262.     f    Whether file marks need to be stored.  If zero, file marks ('0
  3263.         to '9, 'A to 'Z) are not stored.  When not present or when
  3264.         non-zero, they are all stored.  '0 is used for the current
  3265.         cursor position (when exiting or when doing ":wviminfo").
  3266.     r    Removable media.  The argument is a string (up to the next
  3267.         ',').  This parameter can be given several times.  Each
  3268.         specifies the start of a path for which no marks will be
  3269.         stored.  This is to avoid removable media.  For MS-DOS you
  3270.         could use "ra:,rb:", for Amiga "rdf0:,rdf1:,rdf2:".  Case is
  3271.         ignored.  Maximum length of each 'r' argument is 50
  3272.         characters.
  3273.     "    Maximum number of lines saved for each register.  If zero then
  3274.         registers are not saved.  When not included, all lines are
  3275.         saved.  Dont forget to put a backslash before the ", otherwise
  3276.         it will be recognized as the start of a comment!
  3277.     :    Maximum number of items in the command-line history to be
  3278.         saved.  When not included, the value of 'history' is used.
  3279.     /    Maximum number of items in the search pattern history to be
  3280.         saved.  If non-zero, then the previous search and substitute
  3281.         patterns are also saved.  When not included, the value of
  3282.         'history' is used.
  3283.     @    Maximum number of items in the input-line history to be
  3284.         saved.  When not included, the value of 'history' is used.
  3285.     n    Name of the viminfo file.  The name must immediately follow
  3286.         the 'n'.  Must be the last one!  If the "-i" argument was
  3287.         given when starting Vim, that file name overrides the one
  3288.         given here with 'viminfo'.  Environment variables are expanded
  3289.         when opening the file, not when setting the option.
  3290.     %    When included, save and restore the buffer list.  If Vim is
  3291.         started with a file name argument, the buffer list is not
  3292.         restored.  If Vim is started without a file name argument, the
  3293.         buffer list is restored from the viminfo file.  Buffers
  3294.         without a file name and buffers for help files are not written
  3295.         to the viminfo file.
  3296.  
  3297.     Example:
  3298. >        :set viminfo='50,\"1000,:0,n~/vim/viminfo
  3299.  
  3300.     '50        Marks will be remembered for the last 50 files you
  3301.             edited.
  3302.     "1000        Contents of registers (up to 1000 lines each) will be
  3303.             remembered.
  3304.     :0        Command-line history will not be saved.
  3305.     n~/vim/viminfo    The name of the file to use is "~/vim/viminfo".
  3306.     no /        Since '/' is not specified, the default will be used,
  3307.             that is, save all of the search history, and also the
  3308.             previous search and substitute patterns.
  3309.     no %        The buffer list will not be saved nor read back.
  3310.  
  3311.             *'visualbell'* *'vb'* *'novisualbell'* *'novb'* *beep*
  3312. 'visualbell' 'vb'    boolean    (default off)
  3313.             global
  3314.             {not in Vi}
  3315.     Use visual bell instead of beeping.  The terminal code to display the
  3316.     visual bell is given with 't_vb'.  When no beep of flash is wanted,
  3317.     use ":set vb t_vb=".  Does not work on the Amiga, you always get a
  3318.     screen flash.  Also see 'errorbells'.
  3319.  
  3320.                         *'warn'* *'nowarn'*
  3321. 'warn'            boolean    (default on)
  3322.             global
  3323.     Give a warning message when a shell command is used while the buffer
  3324.     has been changed.
  3325.  
  3326.              *'weirdinvert'* *'wiv'* *'noweirdinvert'* *'nowiv'*
  3327. 'weirdinvert' 'wiv'    boolean    (default off)
  3328.             global
  3329.             {not in Vi}
  3330.     This option has the same effect as the 't_xs' termcap option.
  3331.     It is provided for backwards compatibility with version 4.x.
  3332.     Setting 'weirdinvert' has the effect of making 't_xs' non-empty, and
  3333.     vise versa.  Has no effect when the GUI is running.
  3334.  
  3335.                         *'whichwrap'* *'ww'*
  3336. 'whichwrap' 'ww'    string    (Vim default: "b,s", Vi default: "")
  3337.             global
  3338.             {not in Vi}
  3339.     Allow specified keys that move the cursor left/right to wrap to the
  3340.     previous/next line when the cursor is on the first/last character in
  3341.     the line.  Concatenate characters to allow this for these keys:
  3342.         char   key      mode    ~
  3343.          b    <BS>     Normal and Visual
  3344.          s    <Space>     Normal and Visual
  3345.          h    "h"     Normal and Visual
  3346.          l    "l"     Normal and Visual
  3347.          <    <Left>     Normal and Visual
  3348.          >    <Right>     Normal and Visual
  3349.          [    <Left>     Insert and Replace
  3350.          ]    <Right>     Insert and Replace
  3351.     For example:
  3352. >        :set ww=<,>,[,]
  3353.     allows wrap only when cursor keys are used.
  3354.     When the movement keys are used in combination with a delete or change
  3355.     operator, the <EOL> also counts for a character.  This makes "3h"
  3356.     different from "3dh" when the cursor crosses the end of a line.  This
  3357.     is also true for "x" and "X", because they do the same as "dl" and
  3358.     "dh".  If you use this, you may also want to use the mapping
  3359.     ":map <BS> X" to make backspace delete the character in front of the
  3360.     cursor.
  3361.     When 'l' is included, you get a side effect: "yl" on an empty line
  3362.     will include the <EOL>, so that "p" will insert a new line.
  3363.     When 'compatible' is set, 'whichwrap' is set to "".
  3364.  
  3365.                         *'wildchar'* *'wc'*
  3366. 'wildchar' 'wc'        number    (Vim default: <Tab>, Vi default: CTRL-E)
  3367.             global
  3368.             {not in Vi}
  3369.     Character you have to type to start wildcard expansion in the
  3370.     command-line.  CTRL-E is used when the 'compatible' option is set.
  3371.     The character is not recognized when used inside a macro.  Although
  3372.     'wc' is a number option, you can set it to a special key:
  3373. >        :set wc=<Esc>
  3374.  
  3375.                         *'wildignore'* *'wig'*
  3376. 'wildignore' 'wig'    string    (default "")
  3377.             global
  3378.             {not in Vi}
  3379.             {not available when compiled without the |+wildignore|
  3380.             feature}
  3381.     A list of file patterns.  A file that matches with one of these
  3382.     patterns is ignored when completing file or directory names.
  3383.     The pattern is used like with |:autocmd|, see |autocmd-patterns|.
  3384.     Also see 'suffixes'.
  3385.     Example:
  3386. >        :set wildignore=*.o,*.obj
  3387.     The use of |:set+=| and |:set-=| is preferred when adding or removing
  3388.     a pattern from the list.  This avoids problems when a future version
  3389.     uses another default.
  3390.  
  3391.                         *'wildmode'* *'wim'*
  3392. 'wildmode' 'wim'    string    (Vim default: "")
  3393.             global
  3394.             {not in Vi}
  3395.     Completion mode that is used for the character specified with
  3396.     'wildchar'.  It is a comma separated list of up to four parts.  Each
  3397.     part specifies what to do for each consecutive use of 'wildchar.  The
  3398.     first part specifies the behaviour for the first use of 'wildchar',
  3399.     The second part for the second use, etc.
  3400.     These are the possible values for each part:
  3401.     ""        Complete only the first match.
  3402.     "full"        Complete the next full match.  After the last match,
  3403.             the original string is used and then the first match
  3404.             again.
  3405.     "longest"    Complete till longest common string.  If this doesn't
  3406.             result in a longer string, use the next part.
  3407.     "list"        When more than one match, list all matches.
  3408.     "list:full"    When more than one match, list all matches and
  3409.             complete first match.
  3410.     "list:longest"    When more than one match, list all matches and
  3411.             complete till longest common string.
  3412.     When there is only a single match, it is fully completed in all cases.
  3413.  
  3414.     Examples:
  3415. >  set wildmode=full
  3416.     Complete first full match, next match, etc. (the default)
  3417. >  set wildmode=longest,full
  3418.     Complete longest common string, then each full match.
  3419. >  set list:full
  3420.     List all matches and complete each full match.
  3421. >  set list,full
  3422.     List all matches without completing, then each full match.
  3423. >  set longest,list
  3424.     Complete longest common string, then list alternatives.
  3425.  
  3426.                         *'winaltkeys'* *'wak'*
  3427. 'winaltkeys' 'wak'    string    (default "menu")
  3428.             global
  3429.             {not in Vi}
  3430.             {only used in Win32 and Motif GUI}
  3431.     Some GUI versions allow the access to menu entries by using the ALT
  3432.     key in combination with a character that appears underlined in the
  3433.     menu.  This conflicts with the use of the ALT key for mappings and
  3434.     entering special characters.  This option tells what to do:
  3435.       no    Don't use ALT keys for menus.  ALT key combinations can be
  3436.         mapped, but there is no automatic handling.  This can then be
  3437.         done with the |:simalt| command.
  3438.       yes    ALT key handling is done by the windowing system.  ALT key
  3439.         combinations cannot be mapped.
  3440.       menu    Using ALT in combination with a character that is a menu
  3441.         shortcut key, will be handled by the windowsing system.  Other
  3442.         keys can be mapped.
  3443.  
  3444.                         *'winheight'* *'wh'*
  3445. 'winheight' 'wh'    number    (default 1)
  3446.             global
  3447.             {not in Vi}
  3448.     Minimal number of lines for the current window.  This is not a hard
  3449.     minimum, Vim will use less lines if there is not enough room.  If the
  3450.     current window is smaller, its size is increased, at the cost of the
  3451.     height of other windows.  Set it to 999 to make the current window
  3452.     always fill the screen.  Set it to a small number for normal editing.
  3453.     The height is not adjusted after one of the commands to change the
  3454.     height of the current window.
  3455.     'winheight' applies to the current window.  Use 'winminheight' to set
  3456.     the minimal height for other windows.
  3457.  
  3458.                         *'winminheight'* *'wmh'*
  3459. 'winminheight' 'wmh'    number    (default 1)
  3460.             global
  3461.             {not in Vi}
  3462.     The minimal height of a window, when it's not the current window.
  3463.     This is a hard minimum, windows will never become smaller.
  3464.     When set to zero, windows may be "squashed" to zero lines (i.e. just a
  3465.     status bar) if necessary.  They will return to at least one line when
  3466.     they become active (since the cursor has to have somewhere to go.)
  3467.     Use 'winheight' to set the minimal height of the current window.
  3468.     This option is only checked when making a window smaller.  Don't use a
  3469.     large number, it will cause errors when opening more than a few
  3470.     windows.  A value of 0 to 3 is reasonable.
  3471.  
  3472.                         *'wrap'* *'nowrap'*
  3473. 'wrap'            boolean    (default on)
  3474.             local to window
  3475.             {not in Vi}
  3476.     When on, lines longer than the width of the window will wrap and
  3477.     displaying continues on the next line.  When off lines will not wrap
  3478.     and only part of long lines will be displayed.  When the cursor is
  3479.     moved to a part that is not shown, the screen will scroll horizontally
  3480.     (also see 'sidescroll' and 'listchars' options and |wrap-off|).  If
  3481.     you want to break long lines, see 'textwidth'.
  3482.  
  3483.                         *'wrapmargin'* *'wm'*
  3484. 'wrapmargin' 'wm'    number    (default 0)
  3485.             local to buffer
  3486.     Number of characters from the right window border where wrapping
  3487.     starts.  When typing text beyond this limit, an <EOL> will be inserted
  3488.     and inserting continues on the next line.  When 'textwidth' is
  3489.     non-zero, this option is not used.  See also 'formatoptions' and
  3490.     |ins-textwidth|.  {Vi: works differently and less useful}
  3491.  
  3492.                    *'wrapscan'* *'ws'* *'nowrapscan'* *'nows'*
  3493. 'wrapscan' 'ws'        boolean    (default on)
  3494.             global
  3495.     Searches wrap around the end of the file.
  3496.  
  3497.                    *'writeany'* *'wa'* *'nowriteany'* *'nowa'*
  3498. 'writeany' 'wa'        boolean    (default off)
  3499.             global
  3500.     Allows writing to any file with no need for "!" override.
  3501.  
  3502.                  *'writebackup'* *'wb'* *'nowritebackup'* *'nowb'*
  3503. 'writebackup' 'wb'    boolean    (default on with |+writebackup| feature, off
  3504.                     otherwise)
  3505.             global
  3506.             {not in Vi}
  3507.     Make a backup before overwriting a file.  The backup is removed after
  3508.     the file was successfully written, unless the 'backup' option is
  3509.     also on.  Reset this option if your file system is almost full.  See
  3510.     |backup-table| for another explanation.
  3511.  
  3512.                         *'writedelay'* *'wd'*
  3513. 'writedelay' 'wd'    number    (default 0)
  3514.             global
  3515.             {not in Vi}
  3516.     The number of microseconds to wait for each character sent to the
  3517.     screen.  When non-zero, characters are sent to the terminal one by
  3518.     one.  For MS-DOS pcterm this does not work.  For debugging purposes.
  3519.  
  3520.  vim:tw=78:ts=8:sw=8:
  3521.