comparison runtime/doc/options.txt @ 13314:65c3e8259124 v8.0.1531

patch 8.0.1531: cannot use 24 bit colors in MS-Windows console commit https://github.com/vim/vim/commit/cafafb381a04e33f3ce9cd15dd9f94b73226831f Author: Bram Moolenaar <Bram@vim.org> Date: Thu Feb 22 21:07:09 2018 +0100 patch 8.0.1531: cannot use 24 bit colors in MS-Windows console Problem: Cannot use 24 bit colors in MS-Windows console. Solution: Add support for vcon. (Nobuhiro Takasaki, Ken Takasaki, fixes #1270, fixes #2060)
author Christian Brabandt <cb@256bit.org>
date Thu, 22 Feb 2018 21:15:05 +0100
parents 6e972d830e13
children acd7eaa13d2b
comparison
equal deleted inserted replaced
13313:97fb19f36653 13314:65c3e8259124
1 *options.txt* For Vim version 8.0. Last change: 2018 Feb 03 1 *options.txt* For Vim version 8.0. Last change: 2018 Feb 22
2 2
3 3
4 VIM REFERENCE MANUAL by Bram Moolenaar 4 VIM REFERENCE MANUAL by Bram Moolenaar
5 5
6 6
5201 available) 5201 available)
5202 global 5202 global
5203 {not in Vi} 5203 {not in Vi}
5204 Maximum amount of memory (in Kbyte) to use for one buffer. When this 5204 Maximum amount of memory (in Kbyte) to use for one buffer. When this
5205 limit is reached allocating extra memory for a buffer will cause 5205 limit is reached allocating extra memory for a buffer will cause
5206 other memory to be freed. The maximum usable value is about 2000000. 5206 other memory to be freed.
5207 Use this to work without a limit. Also see 'maxmemtot'. 5207 The maximum usable value is about 2000000. Use this to work without a
5208 limit.
5209 The value is ignored when 'swapfile' is off.
5210 Also see 'maxmemtot'.
5208 5211
5209 *'maxmempattern'* *'mmp'* 5212 *'maxmempattern'* *'mmp'*
5210 'maxmempattern' 'mmp' number (default 1000) 5213 'maxmempattern' 'mmp' number (default 1000)
5211 global 5214 global
5212 {not in Vi} 5215 {not in Vi}
5231 without a limit. 5234 without a limit.
5232 On 64 bit machines higher values might work. But hey, do you really 5235 On 64 bit machines higher values might work. But hey, do you really
5233 need more than 2 Gbyte for text editing? Keep in mind that text is 5236 need more than 2 Gbyte for text editing? Keep in mind that text is
5234 stored in the swap file, one can edit files > 2 Gbyte anyway. We do 5237 stored in the swap file, one can edit files > 2 Gbyte anyway. We do
5235 need the memory to store undo info. 5238 need the memory to store undo info.
5239 Buffers with 'swapfile' off still count to the total amount of memory
5240 used.
5236 Also see 'maxmem'. 5241 Also see 'maxmem'.
5237 5242
5238 *'menuitems'* *'mis'* 5243 *'menuitems'* *'mis'*
5239 'menuitems' 'mis' number (default 25) 5244 'menuitems' 'mis' number (default 25)
5240 global 5245 global
5954 Determines the maximum number of items to show in the popup menu for 5959 Determines the maximum number of items to show in the popup menu for
5955 Insert mode completion. When zero as much space as available is used. 5960 Insert mode completion. When zero as much space as available is used.
5956 |ins-completion-menu|. 5961 |ins-completion-menu|.
5957 5962
5958 *'pumwidth'* *'pw'* 5963 *'pumwidth'* *'pw'*
5959 'pumwidth' 'pw' number (default 0) 5964 'pumwidth' 'pw' number (default 15)
5960 global 5965 global
5961 {not available when compiled without the 5966 {not available when compiled without the
5962 |+insert_expand| feature} 5967 |+insert_expand| feature}
5963 {not in Vi} 5968 {not in Vi}
5964 Determines the minium width to use for the popup menu for Insert mode 5969 Determines the minium width to use for the popup menu for Insert mode
5965 completion. When zero the default of 15 screen cells is used. 5970 completion. |ins-completion-menu|.
5966 |ins-completion-menu|.
5967 5971
5968 *'pythondll'* 5972 *'pythondll'*
5969 'pythondll' string (default depends on the build) 5973 'pythondll' string (default depends on the build)
5970 global 5974 global
5971 {not in Vi} 5975 {not in Vi}
7901 want to edit a UTF-8 file: > 7905 want to edit a UTF-8 file: >
7902 :let &termencoding = &encoding 7906 :let &termencoding = &encoding
7903 :set encoding=utf-8 7907 :set encoding=utf-8
7904 < You need to do this when your system has no locale support for UTF-8. 7908 < You need to do this when your system has no locale support for UTF-8.
7905 7909
7906 *'termguicolors'* *'tgc'* 7910 *'termguicolors'* *'tgc'* *E954*
7907 'termguicolors' 'tgc' boolean (default off) 7911 'termguicolors' 'tgc' boolean (default off)
7908 global 7912 global
7909 {not in Vi} 7913 {not in Vi}
7910 {not available when compiled without the 7914 {not available when compiled without the
7911 |+termguicolors| feature} 7915 |+termguicolors| feature}
7912 When on, uses |highlight-guifg| and |highlight-guibg| attributes in 7916 When on, uses |highlight-guifg| and |highlight-guibg| attributes in
7913 the terminal (thus using 24-bit color). Requires a ISO-8613-3 7917 the terminal (thus using 24-bit color).
7914 compatible terminal. 7918
7915 If setting this option does not work (produces a colorless UI) 7919 Requires a ISO-8613-3 compatible terminal. If setting this option
7916 reading |xterm-true-color| might help. 7920 does not work (produces a colorless UI) reading |xterm-true-color|
7921 might help.
7922
7923 For Win32 console, Windows 10 version 1703 (Creators Update) or later
7924 is required. Use this check to find out: >
7925 if has('vcon')
7926 <
7917 Note that the "cterm" attributes are still used, not the "gui" ones. 7927 Note that the "cterm" attributes are still used, not the "gui" ones.
7918 NOTE: This option is reset when 'compatible' is set. 7928 NOTE: This option is reset when 'compatible' is set.
7919 7929
7920 *'termkey'* *'tk'* 7930 *'termkey'* *'tk'*
7921 'termkey' 'tk' string (default "") 7931 'termkey' 'tk' string (default "")