sponsor Vim development Vim logo go to HTTPS page Vim Book Ad

bargreybars.vim : remove gray bars from maximised gvim windows, on Windows

 script karma  Rating 0/0, Downloaded by 51    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
 

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-bargreybars.zip 0.0.1 2017-03-08 7.3 dreadnaut Initial upload
ip used for rating: 23.20.214.5

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.
   
SourceForge.net Logo