sponsor Vim development Vim logo Vim Book Ad

hexHighlight.vim : Plugin to highlight hex codes in gvim.

 script karma  Rating 125/48, Downloaded by 3106  Comments, bugs, improvements  Vim wiki

created by
Yuri Feldman
script type
This plugin looks for hex codes of the format #ffffff or #fff and toggles a highlight in that color. It is useful for editing colorschemes, and generally any config file dealing with colors.

Only works with the graphical version of vim.
install details
Put hexHighlight.vim into your .vim/plugins directory, or simply :source the file.

The default keymapping to toggle hex code highlighting is <Leader>F2, and the default <Leader> bind is "\", so \F2 should work by default.

The toggle can be called manually by :call HexHighlight()

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
hexHighlight.vim 1.0 2010-01-21 7.2 Yuri Feldman Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
Vim at Github