bargreybars.vim : remove gray bars from maximised gvim windows, on Windows
| script karma
Downloaded by 115
Comments, bugs, improvements
script versions (upload new version)
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:
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.
|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
Click on the package to download.
ip used for rating: 18.104.22.168