You are not logged in.
Maybe some of you are aware of this problem that could crop up with prior versions of gvim and gtk2.
With the following added to ~/.gtkrc-2.0 you could 'fix' it:
style "vimfix" {
bg[NORMAL] = "#1b1918"
GtkWindow::resize-grip-height = 0
GtkWindow::resize-grip-width = 0
}
widget "vim-main-window.*GtkForm" style "vimfix"So, since the 8.0 update for vim gvim uses gtk3 for drawing its widgets and thus that 'fix' no longer works and I'm back to having fat and ugly widget padding at the bottom and right edge of the gvim window (dependant on font, font size and window dimensions!). At least the resize-grips aren't visible though!
So, the question is, how to write the above fix with gtk3 in mind?
EDIT:
For now, I use:
GTK_THEME=Adwaita:dark gvimto make it less annoying, but I would like to get back to gtk using vim's actual colorscheme-bg color!
Last edited by hungerfish (2016-10-03 15:05:31)
Beetles and bacteria are vastly more successful than humans in terms of survival.
Offline
You can fix the issue by adding the following to the file ~/.config/gtk-3.0/gtk.css:
#vim-main-window {
background-color: #1b1918;
}Offline
Great, it works! ![]()
Much appreciated!
Beetles and bacteria are vastly more successful than humans in terms of survival.
Offline