When using winfixwidth or winfixheight, resizing Vim window breaks
window layout.

$ vim -u NONE
:vsplit
:setlocal winfixheight
:split
:setlocal winfixheight

Now, Vim window is

+--------------------------------------------------------+
|                            |                           |
|~                           |~                          |
|~                           |~                          |
|~                           |~                          |
|~                           |~                          |
|~                           |~                          |
|~                           |~                          |
|[No Name]                   |~                          |
|                            |~                          |
|~                           |~                          |
|~                           |~                          |
|~                           |~                          |
|~                           |~                          |
|~                           |~                          |
|[No Name]                    [No Name]                  |
|                                                        |
+--------------------------------------------------------+

Then, resize (increase) Vim window's height with mouse.

+--------------------------------------------------------+
|                            |                           |
|~                           |~                          |
|~                           |~                          |
|~                           |~                          |
|~                           |~                          |
|~                           |~                          |
|~                           |~                          |
|[No Name]                   |~                          |
|                            |~                          |
|~                           |~                          |
|~                           |~                          |
|~                           |~                          |
|~                           |~                          |
|~                           |~                          |
|[No Name]                    ~                          |
|                             ~                          |
|                             ~                          |
|                             [No Name]                  |
|                                                        |
+--------------------------------------------------------+

At left bottom corner, odd space appears.

It also happens for winfixwidth.

$ vim -u NONE
:split
:setlocal winfixwidth
:vsplit
:setlocal winfixwidth


-- 
Yukihiro Nakadaira - [email protected]

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui