Mercurial > vim
comparison runtime/doc/options.txt @ 13700:b28d679b1843 v8.0.1722
patch 8.0.1722: cannot specify a minimal size for a terminal window
commit https://github.com/vim/vim/commit/498c2562e1bcc72492fe8da8a76504f893e9b5fe
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 15 23:45:15 2018 +0200
patch 8.0.1722: cannot specify a minimal size for a terminal window
Problem: Cannot specify a minimal size for a terminal window.
Solution: Support the "rows*cols" format for 'winsize'.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Mon, 16 Apr 2018 00:00:07 +0200 |
parents | c32e9628dc30 |
children | a62eeee5f116 |
comparison
equal
deleted
inserted
replaced
13699:6b162e33d63a | 13700:b28d679b1843 |
---|---|
7958 | 7958 |
7959 *'termsize'* *'tms'* | 7959 *'termsize'* *'tms'* |
7960 'termsize' 'tms' string (default "") | 7960 'termsize' 'tms' string (default "") |
7961 local to window | 7961 local to window |
7962 {not in Vi} | 7962 {not in Vi} |
7963 Size of the |terminal| window. Format: {rows}x{columns}. | 7963 Size of the |terminal| window. Format: {rows}x{columns} or |
7964 {rows}*{columns}. | |
7964 - When empty the terminal gets the size from the window. | 7965 - When empty the terminal gets the size from the window. |
7965 - When set (e.g., "24x80") the terminal size is not adjusted to the | 7966 - When set with a "x" (e.g., "24x80") the terminal size is not |
7966 window size. If the window is smaller only the top-left part is | 7967 adjusted to the window size. If the window is smaller only the |
7967 displayed. | 7968 top-left part is displayed. |
7968 When rows is zero then use the height of the window. | 7969 - When set with a "*" (e.g., "10*50") the terminal size follows the |
7969 When columns is zero then use the width of the window. | 7970 window size, but will not be smaller than the specified rows and/or |
7970 For example: "30x0" uses 30 rows with the current window width. | 7971 columns. |
7971 Using "0x0" is the same as empty. | 7972 - When rows is zero then use the height of the window. |
7973 - When columns is zero then use the width of the window. | |
7974 - Using "0x0" or "0*0" is the same as empty. | |
7975 | |
7976 Examples: | |
7977 "30x0" uses 30 rows and the current window width. | |
7978 "20*0" uses at least 20 rows and the current window width. | |
7979 "0*40" uses the current window height and at least 40 columns. | |
7972 Note that the command running in the terminal window may still change | 7980 Note that the command running in the terminal window may still change |
7973 the size of the terminal. In that case the Vim window will be | 7981 the size of the terminal. In that case the Vim window will be |
7974 adjusted to that size, if possible. | 7982 adjusted to that size, if possible. |
7975 | 7983 |
7976 *'terse'* *'noterse'* | 7984 *'terse'* *'noterse'* |