comparison runtime/doc/options.txt @ 27036:3e661b0cf500

Update runtime files Commit: https://github.com/vim/vim/commit/2f0936cb9a2eb026acac03e6a8fd0b2a5d97508b Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 8 21:51:59 2022 +0000 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Sat, 08 Jan 2022 23:00:06 +0100
parents edb7d53fc7e3
children 164d59ddd48a
comparison
equal deleted inserted replaced
27035:5232c68bb21d 27036:3e661b0cf500
1 *options.txt* For Vim version 8.2. Last change: 2021 Dec 26 1 *options.txt* For Vim version 8.2. Last change: 2022 Jan 02
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
367 (that matters when the global value changes later). You can also use: > 367 (that matters when the global value changes later). You can also use: >
368 :set path< 368 :set path<
369 This will make the local value of 'path' empty, so that the global value is 369 This will make the local value of 'path' empty, so that the global value is
370 used. Thus it does the same as: > 370 used. Thus it does the same as: >
371 :setlocal path= 371 :setlocal path=
372 Note: In the future more global options can be made global-local. Using 372 Note: In the future more global options can be made |global-local|. Using
373 ":setlocal" on a global option might work differently then. 373 ":setlocal" on a global option might work differently then.
374 374
375 375
376 *option-value-function* 376 *option-value-function*
377 Some options ('completefunc', 'imactivatefunc', 'imstatusfunc', 'omnifunc', 377 Some options ('completefunc', 'imactivatefunc', 'imstatusfunc', 'omnifunc',
875 *'autowrite'* *'aw'* *'noautowrite'* *'noaw'* 875 *'autowrite'* *'aw'* *'noautowrite'* *'noaw'*
876 'autowrite' 'aw' boolean (default off) 876 'autowrite' 'aw' boolean (default off)
877 global 877 global
878 Write the contents of the file, if it has been modified, on each 878 Write the contents of the file, if it has been modified, on each
879 `:next`, `:rewind`, `:last`, `:first`, `:previous`, `:stop`, 879 `:next`, `:rewind`, `:last`, `:first`, `:previous`, `:stop`,
880 `:suspend`, `:tag, `:!`, ``:make`, CTRL-] and CTRL-^ command; and when 880 `:suspend`, `:tag`, `:!`, `:make`, CTRL-] and CTRL-^ command; and when
881 a :buffer, CTRL-O, CTRL-I, '{A-Z0-9}, or `{A-Z0-9} command takes one 881 a `:buffer`, CTRL-O, CTRL-I, '{A-Z0-9}, or `{A-Z0-9} command takes one
882 to another file. 882 to another file.
883 A buffer is not written if it becomes hidden, e.g. when 'bufhidden' is 883 A buffer is not written if it becomes hidden, e.g. when 'bufhidden' is
884 set to "hide" and `:next` is used 884 set to "hide" and `:next` is used.
885 Note that for some commands the 'autowrite' option is not used, see 885 Note that for some commands the 'autowrite' option is not used, see
886 'autowriteall' for that. 886 'autowriteall' for that.
887 Some buffers will not be written, specifically when 'buftype' is 887 Some buffers will not be written, specifically when 'buftype' is
888 "nowrite", "nofile", "terminal" or "prompt". 888 "nowrite", "nofile", "terminal" or "prompt".
889 889
6682 winsize window sizes 6682 winsize window sizes
6683 6683
6684 Don't include both "curdir" and "sesdir". 6684 Don't include both "curdir" and "sesdir".
6685 When neither "curdir" nor "sesdir" is included, file names are stored 6685 When neither "curdir" nor "sesdir" is included, file names are stored
6686 with absolute paths. 6686 with absolute paths.
6687 If you leave out "options" many things won't work well after restoring
6688 the session.
6687 "slash" and "unix" are useful on Windows when sharing session files 6689 "slash" and "unix" are useful on Windows when sharing session files
6688 with Unix. The Unix version of Vim cannot source dos format scripts, 6690 with Unix. The Unix version of Vim cannot source dos format scripts,
6689 but the Windows version of Vim can source unix format scripts. 6691 but the Windows version of Vim can source unix format scripts.
6690 6692
6691 *'shell'* *'sh'* *E91* 6693 *'shell'* *'sh'* *E91*
8124 |:set+=| and |:set-=| is preferred when adding or removing directories 8126 |:set+=| and |:set-=| is preferred when adding or removing directories
8125 from the list. This avoids problems when a future version uses 8127 from the list. This avoids problems when a future version uses
8126 another default. Backticks cannot be used in this option for security 8128 another default. Backticks cannot be used in this option for security
8127 reasons. 8129 reasons.
8128 8130
8129 *'thesaurusfunc'* *tsrfu'* 8131 *'thesaurusfunc'* *'tsrfu'*
8130 'thesaurusfunc' 'tsrfu' string (default: empty) 8132 'thesaurusfunc' 'tsrfu' string (default: empty)
8131 global or local to buffer |global-local| 8133 global or local to buffer |global-local|
8132 {not available when compiled without the |+eval| 8134 {not available when compiled without the |+eval|
8133 feature} 8135 feature}
8134 This option specifies a function to be used for thesaurus completion 8136 This option specifies a function to be used for thesaurus completion