Skip to content

takeshiD/colortips.vim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

colortips.vim

color tips for vim

colortips demo

Requirements

This plugin require following two features.

  • Vim9 or newer(need vim9script)
  • Terminal-Emulator, Shell, Terminal-Multiplexer support true-color

Installation

dein.vim

Add folowing text to your .vimrc.

dein#add('takeshid/colortips.vim')

Features

Display colorcode tips such as following representaions.

  • Hex Triplet: #dd00dd, #DD00dd, #000
  • RGB(A): rgb(r,b,g), rgba(r,g,b,a)

Enable

colortips.vim is enable on vim-startup.

let g:colortips_enable = 1 " default 1, if assigned 0, colortips.vim is disable on vim-startup

Commands

Swtiching enable/disable.

:ColorTipsEnable
:ColorTipsDisable
:ColorTipsToggle

Perfomance

soso

Customization

Tip Position Visible

left(Default)

let g:colortips_left_visible = 1
let g:colortips_right_visible = 0
let g:colortips_fill_visible = 0

colortips left

right

let g:colortips_left_visible = 0
let g:colortips_right_visible = 1
let g:colortips_fill_visible = 0

colortips right

fill

let g:colortips_left_visible = 0
let g:colortips_right_visible = 0
let g:colortips_fill_visible = 1

colortips fill

Tip Character

Default

let g:colortips_left_char = ''
let g:colortips_right_char = ''

Example

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 = ''

colortips char

About

color tips for vim

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published