Mercurial > vim
diff runtime/doc/options.txt @ 12802:29a728529f92 v8.0.1278
patch 8.0.1278: GUI window always resizes when adding scrollbar
commit https://github.com/vim/vim/commit/8ac441576fd219fb7227349e228d5b68520b204a
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Nov 9 18:33:29 2017 +0100
patch 8.0.1278: GUI window always resizes when adding scrollbar
Problem: GUI window always resizes when adding/removing a scrollbar,
toolbar, etc.
Solution: Add the 'k' flag in 'guioptions' to keep the GUI window size and
change the number of lines/columns instead. (Ychin, closes #703)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 09 Nov 2017 18:45:04 +0100 |
parents | 65d7fd8381a3 |
children | 79a754456110 |
line wrap: on
line diff
--- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -3939,7 +3939,13 @@ A jump table for the options with a shor removing it after the GUI has started has no effect. *'go-F'* 'F' Add a footer. Only for Motif. See |gui-footer|. - + *'go-k'* + 'k' Keep the GUI window size when adding/removing a scrollbar, or + toolbar, tabline, etc. Instead, the behavior is similar to + when the window is maximized and will adjust 'lines' and + 'columns' to fit to the window. Without the 'k' flag Vim will + try to keep 'lines' and 'columns the same when adding and + removing GUI components. *'guipty'* *'noguipty'* 'guipty' boolean (default on)