bargreybars.vim : remove gray bars from maximised gvim windows, on Windows
script karma |
Rating 10/4,
Downloaded by 974 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
dreadnaut |
|
script type |
utility |
|
description |
# bargreybars.vim
This plugin is stored at https://github.com/dreadnaut/vim-bargreybars
Gvim windows have a grey as default background color, behind the text area. When a window is maximised and its dimensions stop being a multiple of the font size, the grey background shows as bars on the right and bottom side of the windows.
This plugin keeps the windows background in sync with the background of your color scheme, calling an external library that modifies the window attributes. Source code for the library is included in the dll directory.
Grey bars gone, the world is safe again!
Note: the plugin works only on Windows. GTK-based Vim can be tweaked in a different way, and an issue exists in the vim issue tracker:
https://github.com/vim/vim/issues/349
http://pastebin.com/N0G333nP
## Features
By default, bargreybars.vim runs automatically when you start gvim and when you switch colorscheme. This behaviour can be disabled in your `.vimrc` file with:
let g:bargreybars_auto = 0
If the automatic color-matching is disabled, you can use the `Colorscheme` command to apply a scheme and match the window background color. It works the same way as the standard `colorscheme` command.
:Colorscheme zenburn
|
|
install details |
The plugin is compatible with pathogen.vim and a similar plugin managers.
Here's the clone command for you copy-paste convenience:
git clone https://github.com/dreadnaut/vim-bargreybars.git
|
|
script versions (upload new version)
Click on the package to download.
ip used for rating: 35.170.81.33
|