diff options
Diffstat (limited to 'runtime/doc/term.txt')
-rw-r--r-- | runtime/doc/term.txt | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/runtime/doc/term.txt b/runtime/doc/term.txt index 1eea20f74..8f9d878b8 100644 --- a/runtime/doc/term.txt +++ b/runtime/doc/term.txt @@ -1,4 +1,4 @@ -*term.txt* For Vim version 7.4. Last change: 2016 Apr 29 +*term.txt* For Vim version 7.4. Last change: 2016 Sep 02 VIM REFERENCE MANUAL by Bram Moolenaar @@ -426,6 +426,8 @@ Vim has started, the escape sequences may not be recognized anymore. Vim supports using true colors in the terminal (taken from |highlight-guifg| and |highlight-guibg|), given that the terminal supports this. To make this work the 'termguicolors' option needs to be set. +See https://gist.github.com/XVilka/8346728 for a list of terminals that +support true colors. Sometimes setting 'termguicolors' is not enough and one has to set the |t_8f| and |t_8b| options explicitly. Default values of these options are @@ -433,9 +435,8 @@ and |t_8b| options explicitly. Default values of these options are set when `$TERM` is `xterm`. Some terminals accept the same sequences, but with all semicolons replaced by colons (this is actually more compatible, but less widely supported): > - set t_8f=^[[38:2:%lu:%lu:%lum - set t_8b=^[[48:2:%lu:%lu:%lum -(replace `^[` with real escape) + let &t_8f = "\<Esc>[38:2:%lu:%lu:%lum" + let &t_8b = "\<Esc>[48:2:%lu:%lu:%lum" These options contain printf strings, with |printf()| (actually, its C equivalent hence `l` modifier) invoked with the t_ option value and three |