color tips for vim
This plugin require following two features.
- Vim9 or newer(need vim9script)
- Terminal-Emulator, Shell, Terminal-Multiplexer support true-color
Add folowing text to your .vimrc
.
dein#add('takeshid/colortips.vim')
Display colorcode tips such as following representaions.
- Hex Triplet:
#dd00dd
,#DD00dd
,#000
- RGB(A):
rgb(r,b,g)
,rgba(r,g,b,a)
colortips.vim
is enable on vim-startup.
let g:colortips_enable = 1 " default 1, if assigned 0, colortips.vim is disable on vim-startup
Swtiching enable/disable.
:ColorTipsEnable
:ColorTipsDisable
:ColorTipsToggle
soso
let g:colortips_left_visible = 1
let g:colortips_right_visible = 0
let g:colortips_fill_visible = 0
let g:colortips_left_visible = 0
let g:colortips_right_visible = 1
let g:colortips_fill_visible = 0
let g:colortips_left_visible = 0
let g:colortips_right_visible = 0
let g:colortips_fill_visible = 1
let g:colortips_left_char = '■'
let g:colortips_right_char = '■'
let g:colortips_left_visible = 1
let g:colortips_right_visible = 1
let g:colortips_fill_visible = 0
let g:colortips_left_char = '▨'
let g:colortips_right_char = '●'