sponsor Vim development Vim logo Vim Book Ad

xterm-color-table.vim : All 256 xterm colors with their RGB equivalents, right in Vim!

 script karma  Rating 62/31, Downloaded by 5213  Comments, bugs, improvements  Vim wiki

created by
Sung Pae
 
script type
utility
 
description
GITHUB

http://github.com/guns/xterm-color-table.vim


NOTES

* Provides command :XtermColorTable, as well as variants for different splits
* Xterm numbers on the left, equivalent RGB values on the right
* Press `#` to yank current color (shortcut for yiw)
* Press `t` to toggle RGB text visibility
* Press `f` to set RGB text to current color
* Buffer behavior similar to Scratch.vim


SCREENSHOTS

http://guns.github.com/xterm-color-table.vim/images/xterm-color-table.png
http://guns.github.com/xterm-color-table.vim/images/xterm-color-table-with-visible-rgb.png


INSPIRED BY

* http://www.calmar.ws/vim/256-xterm-24bit-rgb-color-chart.html
* http://vim.wikia.com/wiki/Xterm256_color_names_for_console_Vim
* http://www.vim.org/scripts/script.php?script_id=664
 
install details
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
xterm-color-table.vim.tar.gz 1.6 2011-05-01 7.0 Sung Pae New features:

* New alternate opening commands: VXtermColorTable for vsplit, TXtermColorTable for tabnew, etc
* Better handling of ColorScheme events (existing windows stay open and reapply buffer highlight rules)
* New convenience buffer mapping <#> (alias of yiw)
xterm-color-table.vim.tar.gz 1.4 2011-02-10 7.0 Sung Pae Fix regression: GUI Vims are picky about capitalization in `hi term=NONE'
xterm-color-table.vim.tar.gz 1.3 2011-02-09 7.0 Sung Pae Add toggleable RGB visibility. Thanks to Alexey Radkov for the suggestion.
xterm-color-table.vim.tar.gz 1.2 2011-01-26 7.0 Sung Pae Removed buffer mapping; much smarter buffer behavior, à la Scratch.vim
xterm-color-table.vim.tar.gz 1.1 2011-01-21 7.0 Sung Pae Remove `ownsyntax' statement, which is a 7.3+ feature. Thanks to Farhad Fouladi.
xterm-color-table.vim.tar.gz 1.0 2011-01-21 7.0 Sung Pae Initial upload
ip used for rating: 18.220.178.207

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github