Mercurial > vim
comparison runtime/doc/options.txt @ 34525:4c1ae10c4cc9
runtime(doc): improve 'winfixbuf' docs (#14180)
Commit: https://github.com/vim/vim/commit/0049a495c8d4a597773587f622d8cc8573c2eb75
Author: zeertzjq <zeertzjq@outlook.com>
Date: Mon Mar 11 23:13:16 2024 +0800
runtime(doc): improve 'winfixbuf' docs (https://github.com/vim/vim/issues/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>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 11 Mar 2024 16:15:06 +0100 |
parents | d43c2e4b645c |
children | 5bacfe383131 |
comparison
equal
deleted
inserted
replaced
34524:caf019e67e93 | 34525:4c1ae10c4cc9 |
---|---|
1 *options.txt* For Vim version 9.1. Last change: 2024 Mar 06 | 1 *options.txt* For Vim version 9.1. Last change: 2024 Mar 11 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
331 created, thus they behave slightly differently: | 331 created, thus they behave slightly differently: |
332 | 332 |
333 Option Reason ~ | 333 Option Reason ~ |
334 'previewwindow' there can only be a single one | 334 'previewwindow' there can only be a single one |
335 'scroll' specific to existing window | 335 'scroll' specific to existing window |
336 'winfixbuf' specific to existing window | |
336 'winfixheight' specific to existing window | 337 'winfixheight' specific to existing window |
337 'winfixwidth' specific to existing window | 338 'winfixwidth' specific to existing window |
338 | 339 |
339 Special local buffer options | 340 Special local buffer options |
340 | 341 |
9474 'lines' for that. | 9475 'lines' for that. |
9475 | 9476 |
9476 *'winfixbuf'* | 9477 *'winfixbuf'* |
9477 'winfixbuf' 'wfb' boolean (default off) | 9478 'winfixbuf' 'wfb' boolean (default off) |
9478 local to window | 9479 local to window |
9479 If enabled, the buffer and any window that displays it are paired. | 9480 If enabled, the window and the buffer it is displaying are paired. |
9480 For example, attempting to change the buffer with |:edit| will fail. | 9481 For example, attempting to change the buffer with |:edit| will fail. |
9481 Other commands which change a window's buffer such as |:cnext| will | 9482 Other commands which change a window's buffer such as |:cnext| will |
9482 also skip any window with 'winfixbuf' enabled. However if a command | 9483 also skip any window with 'winfixbuf' enabled. However if an Ex |
9483 has an "!" option, a window can be forced to switch buffers. | 9484 command has a "!" modifier, it can force switching buffers. |
9484 | 9485 |
9485 *'winfixheight'* *'wfh'* *'nowinfixheight'* *'nowfh'* | 9486 *'winfixheight'* *'wfh'* *'nowinfixheight'* *'nowfh'* |
9486 'winfixheight' 'wfh' boolean (default off) | 9487 'winfixheight' 'wfh' boolean (default off) |
9487 local to window |local-noglobal| | 9488 local to window |local-noglobal| |
9488 Keep the window height when windows are opened or closed and | 9489 Keep the window height when windows are opened or closed and |