runtime(doc): improve 'winfixbuf' docs (#14180)
- Make it not sound like a buffer option. - "!" is called a modifier, not an option. Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
*options.txt* For Vim version 9.1. Last change: 2024 Mar 06
|
*options.txt* For Vim version 9.1. Last change: 2024 Mar 11
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
@ -333,6 +333,7 @@ created, thus they behave slightly differently:
|
|||||||
Option Reason ~
|
Option Reason ~
|
||||||
'previewwindow' there can only be a single one
|
'previewwindow' there can only be a single one
|
||||||
'scroll' specific to existing window
|
'scroll' specific to existing window
|
||||||
|
'winfixbuf' specific to existing window
|
||||||
'winfixheight' specific to existing window
|
'winfixheight' specific to existing window
|
||||||
'winfixwidth' specific to existing window
|
'winfixwidth' specific to existing window
|
||||||
|
|
||||||
@ -9476,11 +9477,11 @@ A jump table for the options with a short description can be found at |Q_op|.
|
|||||||
*'winfixbuf'*
|
*'winfixbuf'*
|
||||||
'winfixbuf' 'wfb' boolean (default off)
|
'winfixbuf' 'wfb' boolean (default off)
|
||||||
local to window
|
local to window
|
||||||
If enabled, the buffer and any window that displays it are paired.
|
If enabled, the window and the buffer it is displaying are paired.
|
||||||
For example, attempting to change the buffer with |:edit| will fail.
|
For example, attempting to change the buffer with |:edit| will fail.
|
||||||
Other commands which change a window's buffer such as |:cnext| will
|
Other commands which change a window's buffer such as |:cnext| will
|
||||||
also skip any window with 'winfixbuf' enabled. However if a command
|
also skip any window with 'winfixbuf' enabled. However if an Ex
|
||||||
has an "!" option, a window can be forced to switch buffers.
|
command has a "!" modifier, it can force switching buffers.
|
||||||
|
|
||||||
*'winfixheight'* *'wfh'* *'nowinfixheight'* *'nowfh'*
|
*'winfixheight'* *'wfh'* *'nowinfixheight'* *'nowfh'*
|
||||||
'winfixheight' 'wfh' boolean (default off)
|
'winfixheight' 'wfh' boolean (default off)
|
||||||
|
|||||||
Reference in New Issue
Block a user