Skip to content

Latest commit

 

History

History
62 lines (36 loc) · 1.89 KB

README.md

File metadata and controls

62 lines (36 loc) · 1.89 KB

hicterm - Highlights terminal color code numbers

This plugin provides Vim commands to highlight terminal color code numbers that are used by curses-based applications such as WeeChat, tmux, and Vim. It's especially useful when configuring colorschemes for such applications.

demo

If you like this plugin, you might find the following to be useful as well:

Commands

:HiCterm

Highlights both foreground and background of terminal color code numbers so that they appear as solid blocks of color.

demo

:HiCtermFg

Highlights the foreground of terminal color code numbers so that their text appears in their effective terminal colors.

demo

:HiCtermBg

Highlights the background of terminal color code numbers so that their background shows their effective terminal colors.

demo

:HiCtermOff

Removes all highlighting of terminal color code numbers.

demo

Functions

HiCterm(flag...)

Highlights terminal color code numbers according to flags:

  • "fg" highlights the foreground (see highlight-ctermfg)
  • "bg" highlights the background (see highlight-ctermbg)

When no flags are specified, both highlights are removed.

License

Like my work? 👍 Please spare a life today as thanks! :cow::pig::chicken::fish::speak_no_evil::v::revolving_hearts:

Copyright 2015 Suraj N. Kurapati https://github.com/sunaku

Distributed under the same terms as Vim itself.