Problem with Vim background and terminal sizing.
Not downloaded yet
Whenever I open vim, the bottom and right edges are slightly smaller than the terminal window, causing an odd border, as so. How can I fix this?
About this post
- Posted
- Archived
- Score
- 4 · 100% up
- Kind
- Image
- ID
- 2itpko
19 comments
I know the reason this happens, but I don't know how to fix it. The reason is that your font doesn't nicely match the size of the window.
As a simple example, say your window is 100x100 pixels. Your font is 7 pixels wide by 12 pixels tall per character. 100 / 7 = 14 r 2, and 100 / 12 = 8 r 4. This means you will have a border of 2x4 pixels.
That's the cause: anyone know of a way to fix it?
In awesome, you can configure it so that it doesn't use the window's size hints (size_hints_honor). Maybe your wm has something similar?
Sorry to be off topic but what window manager is that?
I'm using herbstluftwm, and my bar is bar.
How'd you get the status icons? Cleverly positioned stalonetray, maybe?
Looks beautiful, thank you!
I have the same problem on i3 :(
What terminal emulator is that and how can I make my PS1 variable look as shiny as yours?
Looks like he's using powerline for the shell and either powerline or airline for the vim session.
https://powerline.readthedocs.org/en/latest/
it is gnome-terminal + powerline, I never got it to work with urxvt...
Thats strange. I dont run into that problem using urxvt and vim in i3.
Deleted before we saved it.