diff options
author | Christian Brabandt <cb@256bit.org> | 2023-08-16 00:11:09 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-09-11 20:23:11 +0200 |
commit | 596ad66d1ddb742ef349e98eb06b8e4052f68f51 (patch) | |
tree | 310418fa77fc8ef3907a968ff968fe2874ca47d3 /runtime/doc/options.txt | |
parent | 62145db91b104075277cb3a940e18832ad106264 (diff) |
runtime(doc): documentation updates
This is a collection of various improvements to the help pages
closes #12790
Co-authored-by: Houl <anwoku@yahoo.de>
Co-authored-by: Doug Kearns <dougkearns@gmail.com>
Co-authored-by: Adri Verhoef <a3@a3.xs4all.nl>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r-- | runtime/doc/options.txt | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index ec2b8756bf..6c82fa4959 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 9.0. Last change: 2023 Jun 02 +*options.txt* For Vim version 9.0. Last change: 2023 Aug 15 VIM REFERENCE MANUAL by Bram Moolenaar @@ -303,7 +303,7 @@ The options local to a window are remembered for each buffer. This also happens when the buffer is not loaded, but they are lost when the buffer is wiped out |:bwipe|. -Special local window options *special-local-window-option* +Special local window options *local-noglobal* The following local window options won't be copied over when new windows are created, thus they behave slightly differently: @@ -314,7 +314,7 @@ created, thus they behave slightly differently: 'winfixheight' specific to existing window 'winfixwidth' specific to existing window -Special local buffer options *special-local-buffer-option* +Special local buffer options The following local buffer options won't be copied over when new buffers are created, thus they behave slightly differently: @@ -1474,7 +1474,7 @@ A jump table for the options with a short description can be found at |Q_op|. *'bufhidden'* *'bh'* 'bufhidden' 'bh' string (default: "") - local to buffer |special-local-buffer-option| + local to buffer |local-noglobal| This option specifies what happens when a buffer is no longer displayed in a window: <empty> follow the global 'hidden' option @@ -1506,7 +1506,7 @@ A jump table for the options with a short description can be found at |Q_op|. *'buftype'* *'bt'* *E382* 'buftype' 'bt' string (default: "") - local to buffer |special-local-buffer-option| + local to buffer |local-noglobal| The value of this option specifies the type of a buffer: <empty> normal buffer nofile buffer which is not related to a file and will not be @@ -3433,7 +3433,7 @@ A jump table for the options with a short description can be found at |Q_op|. *'filetype'* *'ft'* 'filetype' 'ft' string (default: "") - local to buffer |special-local-buffer-option| + local to buffer |local-noglobal| When this option is set, the FileType autocommand event is triggered. All autocommands that match with the value of this option will be executed. Thus the value of 'filetype' is used in place of the file @@ -5590,7 +5590,7 @@ A jump table for the options with a short description can be found at |Q_op|. *'modified'* *'mod'* *'nomodified'* *'nomod'* 'modified' 'mod' boolean (default off) - local to buffer |special-local-buffer-option| + local to buffer |local-noglobal| When on, the buffer is considered to be modified. This option is set when: 1. A change was made to the text since it was last written. Using the @@ -6161,7 +6161,7 @@ A jump table for the options with a short description can be found at |Q_op|. *'previewwindow'* *'nopreviewwindow'* *'pvw'* *'nopvw'* *E590* 'previewwindow' 'pvw' boolean (default off) - local to window |special-local-window-option| + local to window |local-noglobal| {not available when compiled without the |+quickfix| feature} Identifies the preview window. Only one window can have this option @@ -6356,7 +6356,7 @@ A jump table for the options with a short description can be found at |Q_op|. *'readonly'* *'ro'* *'noreadonly'* *'noro'* 'readonly' 'ro' boolean (default off) - local to buffer |special-local-buffer-option| + local to buffer |local-noglobal| If on, writes fail unless you use a '!'. Protects you from accidentally overwriting a file. Default on when Vim is started in read-only mode ("vim -R") or when the executable is called "view". @@ -6735,7 +6735,7 @@ A jump table for the options with a short description can be found at |Q_op|. *'scroll'* *'scr'* 'scroll' 'scr' number (default: half the window height) - local to window |special-local-window-option| + local to window |local-noglobal| Number of lines to scroll with CTRL-U and CTRL-D commands. Will be set to half the number of lines in the window when the window size changes. This may happen when enabling the |status-line| or @@ -7997,7 +7997,7 @@ A jump table for the options with a short description can be found at |Q_op|. *'syntax'* *'syn'* 'syntax' 'syn' string (default empty) - local to buffer |special-local-buffer-option| + local to buffer |local-noglobal| {not available when compiled without the |+syntax| feature} When this option is set, the syntax with this name is loaded, unless @@ -9445,7 +9445,7 @@ A jump table for the options with a short description can be found at |Q_op|. *'winfixheight'* *'wfh'* *'nowinfixheight'* *'nowfh'* 'winfixheight' 'wfh' boolean (default off) - local to window |special-local-window-option| + local to window |local-noglobal| Keep the window height when windows are opened or closed and 'equalalways' is set. Also for |CTRL-W_=|. Set by default for the |preview-window| and |quickfix-window|. @@ -9453,7 +9453,7 @@ A jump table for the options with a short description can be found at |Q_op|. *'winfixwidth'* *'wfw'* *'nowinfixwidth'* *'nowfw'* 'winfixwidth' 'wfw' boolean (default off) - local to window |special-local-window-option| + local to window |local-noglobal| Keep the window width when windows are opened or closed and 'equalalways' is set. Also for |CTRL-W_=|. The width may be changed anyway when running out of room. |