How to remove gVim's fat bottom border (and resize grip)?

8,768

Solution 1

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"

Solution 2

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.

Share:
8,768

Related videos on Youtube

vermin
Author by

vermin

Updated on September 18, 2022

Comments

  • vermin
    vermin over 1 year

    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

  • vermin
    vermin almost 13 years
    I don't think that's the issue. Even if I change the statusline, the light grey border on the bottom still remains along with the grey resize thingy.
  • manuelpedrera
    manuelpedrera almost 10 years
    This worked for me in 14.04, while the marked answer didn't (make sure you use vim-gtk and not vim-gnome).