Vim Tips Wiki

Use this page to discuss script 1349 Colortest: xterm 256 color test and visual colors list

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on
  • This page may be out of date: check the script's page above, and its release notes.


A minor bug is present at the end of the script (version: 0.1, date: 2005-09-12), where the color is reset: a '[' is missing, so an 'm' is printed.

Original version:

print "^[0m";

Corrected version:

print "^[[0m";

Note: "^[" is CTRL-V + Esc. --February 28, 2013