sponsor Vim development Vim logo Vim Book Ad

vim-bgimg : Background Image for Windows GVim

 script karma  Rating 52/15, Downloaded by 1466  Comments, bugs, improvements  Vim wiki

created by
Yukihiro Nakadaira
script type
Windows only.

  1. set background color
    :call bgimg#set_bg(0xFFFFFF) " 0xRRGGBB
    For Example:
    :call bgimg#set_bg(str2nr(synIDattr(hlID('Normal'), 'bg#')[1:], 16))
  2. set background image
    :call bgimg#set_image("path/to/img.bmp")

Image will be drawn for background color you set.
Be aware of bitmap header version.  LoadImage() doesn't support newer one.
install details

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
vim-bgimg.zip 1.0 2013-05-17 7.3 Yukihiro Nakadaira 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.