19 avr. 2014

Choose your colors while editing code in Vim

Choosing the appropriate colors on your UI is a delicate job. ColorV and colorizer are 2 plugins for Vim that help a lot. I use them on almost every kind of source that I manipulate.

Importing them in you ~/.vimrc is pretty easy if you use a plugin importer. I'm using Vundle and here is the extract that imports these plugins:

Bundle 'Rykka/colorv.vim'
let g:colorv_preview_ftype='css,html,js,coffee,sass,scss,less,styl,svg'
Bundle 'lilydjwg/colorizer'

Note: I've shared my dotfiles on Github: https://github.com/PEM--/dotfiles