diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-06-10 06:18:59 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2019-06-10 12:18:59 +0200 |
commit | 3e58e60568c2acc765f3ee72295e2f15baa3cf52 (patch) | |
tree | a63f42c45a6e2e10a2e44dc395231f6a2ac022cd /runtime | |
parent | 7612dd3f8a47e25d421ce7605a165f504e5fa5a4 (diff) | |
download | rneovim-3e58e60568c2acc765f3ee72295e2f15baa3cf52.tar.gz rneovim-3e58e60568c2acc765f3ee72295e2f15baa3cf52.tar.bz2 rneovim-3e58e60568c2acc765f3ee72295e2f15baa3cf52.zip |
vim-patch:8.0.1278: Add the "k" flag in 'guioptions' #10175
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 vim/vim#703)
https://github.com/vim/vim/commit/8ac441576fd219fb7227349e228d5b68520b204a
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index e780dba53c..a0adf7ec20 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -2948,7 +2948,13 @@ A jump table for the options with a short description can be found at |Q_op|. the right moment, try adding this flag. This must be done before starting the GUI. Set it in your |gvimrc|. Adding or removing it after the GUI has started has no effect. - + *'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. *'guitablabel'* *'gtl'* 'guitablabel' 'gtl' string (default empty) |