summaryrefslogtreecommitdiff
path: root/runtime/doc/term.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-09-06 22:12:34 +0200
committerBram Moolenaar <Bram@vim.org>2016-09-06 22:12:34 +0200
commit64d8e25bf6efe5f18b032563521c3ce278c316ab (patch)
tree6f91d8b81c77b1fc98b09e929b4bb0313f358dee /runtime/doc/term.txt
parent6384c5db8dda70076c878d393ba19a1510695228 (diff)
downloadvim-git-64d8e25bf6efe5f18b032563521c3ce278c316ab.tar.gz
Updated runtime files.
Diffstat (limited to 'runtime/doc/term.txt')
-rw-r--r--runtime/doc/term.txt9
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