wsdjeg / vim-bgimg

Background Image for Windows GVim

Home Page:http://www.vim.org/scripts/script.php?script_id=4585

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a mirror of http://www.vim.org/scripts/script.php?script_id=4585

Windows only.

USAGE:
  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.

About

Background Image for Windows GVim

http://www.vim.org/scripts/script.php?script_id=4585


Languages

Language:C 96.0%Language:Vim Script 4.0%