When I open the vim in the xterm (ubuntu) there's always a space on the right and bottom part of terminal which is not fully occupied by the vim. What could be the reason behind it? And what are the solutions for this problem?

Those violet area on the right and bottom of the vim are the area from the terminal.

enter image description here

  • I dont experience this on ubuntu 18.04 with the default terminal (gnome?), inside of tmux or out. Can you provide more details?
    – D. Ben Knoble
    Dec 16, 2018 at 17:15
  • How does it look like if you start another program that uses the entire terminal? Like mc (Midnight Commander) or htop.
    – Ralf
    Dec 16, 2018 at 20:33
  • @D.BenKnoble yes it is gnome. No, I'm not using tmux or any other just right inside the terminal. @Ralf I tried htop but there's no problem with it only with the vim.
    – isemaj
    Dec 17, 2018 at 0:08
  • What Ubuntu version?
    – D. Ben Knoble
    Dec 17, 2018 at 0:09
  • @D.BenKnoble 18.04.
    – isemaj
    Dec 17, 2018 at 0:10

1 Answer 1


That is the default behaviour. The reason is, Vim can only show complete character cells, however if your terminal is slightly bigger that what can be displayed by multiples of character cells, it will show such a frame.

There is nothing you can do about it, but you can slightly resize your terminal.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.