Mercurial > vim
diff runtime/doc/term.txt @ 10140:b11ceef7116e
commit https://github.com/vim/vim/commit/64d8e25bf6efe5f18b032563521c3ce278c316ab
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Sep 6 22:12:34 2016 +0200
Updated runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 06 Sep 2016 22:15:08 +0200 |
parents | 773d627cac0b |
children | 9f48eab77d62 |
line wrap: on
line diff
--- 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 ma 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 v 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