Skip to content

sunaku/vim-hicterm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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.

About

🌈 Highlights terminal color code numbers (0-255)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages