10

My gVim has this annoying bottom border:

fat border gvim

I wish it didn't and looked more like gnome-terminal for example:

pretty gnome-terminal

Is there any way for gVim to look like that?

UPDATE: There is! Here's a screenshot after adding settings from Jeremy Cantrell's and my own answers:

epilogue

mhmhmhmh
  • 1,598

3 Answers3

13

Ok so setting this in my .gtkrc-2.0 alleviates the problem:

style "vimfix" {
  bg[NORMAL] = "#242424" # this matches my gvim theme 'Normal' bg color.
}
widget "vim-main-window.*GtkForm" style "vimfix"

Screenshot:

Border is the same color as vim's Normal bg

This still doesn't fix the resize triangle in the lower right.

mhmhmhmh
  • 1,598
5

This is what I use to get rid of the resize handle in the corner. Just put this in ~/.gtkrc-2.0

style "no-resize-handle"
{
    GtkWindow::resize-grip-height = 0
    GtkWindow::resize-grip-width = 0
}

class "GtkWidget" style "no-resize-handle"
-1

It looks like you have a blank line in your statusline format codes. Can you tell us what ":set statusline" shows? Maybe we can help you format another one, or you can set to something simple yourself, or turn it off altogether.

Caleb
  • 565