guns / xterm-color-table.vim

All 256 xterm colors with their RGB equivalents, right in Vim!
http://github.com/guns/xterm-color-table.vim
384 stars 37 forks source link

add commands to highlight Xterm color code numbers #8

Closed sunaku closed 8 years ago

sunaku commented 8 years ago

This patch adds two commands to highlight Xterm color code numbers:

:XtermColorHighlight turns on highlighting :XtermColorHighlightOff turns off highlighting

This feature is indispensable if you have to configure colors for curses-based applications (such as tmux and weechat) that make you specify colors as raw Xterm color code numbers (0 through 255).

sunaku commented 8 years ago

Upon further thought, it seems this functionality doesn't really belong in this plugin because it doesn't have much to do with creating or displaying a table of Xterm colors, so I have extracted this PR out into a separate vim plugin focused solely on highlighting terminal color code numbers instead. :sweat_smile: Cheers!